id}") }}" class="btn btn-primary">@lang("content.attach_license_approval")
@if (!count($staffLicenses)) @else

@lang("content.list")

@php $logPermission = isAdminOrSuperAdmin() @endphp @if ($logPermission) @endif {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @foreach($staffLicenses as $i => $each) @php $licenseExists = staffLicenseFileExists($user->id, $each->attachment_file) @endphp @php $fileCorrupted = $each->attachment_file ? true : false @endphp @php $license = $each->license @endphp @php $isRequired = isLicenseRequiredForPosition($license, $position) @endphp @if(!$license) @continue @endif @if ($isRequired || ($each->expiry_date || $each->issue_date)) @else @endif {{-- --}} {{-- --}} {{----}} @if ($logPermission) @endif @endforeach
No @lang("content.license_approval") @lang("content.abbr") @lang("content.doi") @lang("content.dex") @lang("content.remove") @lang("content.status") @lang("content.actions") @lang("content.upload") @lang("content.created") @lang("content.updated")@lang("content.history")
@lang("content.at")@lang("content.by")@lang("content.at")@lang("content.by")
{{ $i + 1 }} {{ $license->name }} {{ $license->abbr }} {{ $each->issue_date ? date('d-M-Y', strtotime($each->issue_date)) : 'Empty' }} {{ $each->expiry_date ? date('d-M-Y', strtotime($each->expiry_date)) : 'Empty' }} id}") }}" class="btn btn-danger">@lang("content.delete") {!! Expiration_Date($each->expiry_date, $each->issue_date)['status'] !!}NOT REQUIRED {{ baseDateFormat($each->created_at, true) }}{{ getUserFullName($each->created_by) }}{{ baseDateFormat($each->updated_at, true) }}{{ getUserFullName($each->updated_by) }}No Services Found! id}") }}"> @lang("content.show_history")
@endif