@if(isset($custodian))
@if(auth()->user()->hasPermissionTo('Items - Items Manager')) @endif @if($custodian->isEmpty()) @else @php $counter = ($custodian->currentPage() - 1) * $custodian->perPage() + 1; @endphp @foreach($custodian as $info) @php $photoPath = public_path('assets/attachment/employee/photo/' . $info->employee->image); @endphp @if(auth()->user()->hasPermissionTo('Items - Items Manager')) @endif @endforeach @endif
# {{ __('employee.image') }} {{ __('employee.name')}} | {{ __('employee.last_name') }} {{ __('employee.id_number')}} {{ __('employee.phone')}} {{ __('items.custodian.job_type')}}
{{ $info->employee->name }} {{ $info->employee->name }} {{ $info->employee->last_name }} {{$info->employee->id_number }} {{$info->employee->phone}} {{$info->job_type}}
@else
@endif