@php $addPermission = user()->permission('add_recruiter'); $editPermission = user()->permission('edit_recruiter'); $deletePermission = user()->permission('delete_recruiter'); @endphp
@if ($addPermission == 'all') @lang('app.addNew') @lang('recruit::modules.setting.recruiter') @endif
@lang('app.name') @lang('app.status') @lang('app.action') @forelse($recruiters as $recruiter) @if ($editPermission == 'all') @else @if ($recruiter->status == 'enabled') @lang(ucfirst($recruiter->status)) @else @lang(ucfirst($recruiter->status)) @endif @endif
@if ($deletePermission == 'all') @lang('app.delete') @endif
@empty @endforelse