@php $addPermission = user()->permission('add_application_status'); $editPermission = user()->permission('edit_application_status'); $deletePermission = user()->permission('delete_application_status'); @endphp
@if (user()->permission('add_application_status') == 'all') @lang('app.add') @lang('app.status') @endif
@lang('app.name') @lang('app.category') @lang('recruit::modules.jobApplication.labelColor') @lang('recruit::modules.jobApplication.position') @lang('recruit::modules.jobApplication.action') @lang('app.action') @forelse($statuses as $status) {{ $status->status }} {{ $status->category->name }} {{ $status->color }} {{ $status->position }} {{ $status->action }}
@if ($editPermission == 'all') @lang('app.edit') @endif
@if($deletePermission == 'all' && $status->id != 1 && $status->id != 2 && $status->id != 3 && $status->id != 4 && $status->id != 5) @endif @empty @endforelse