{{ __('Are you sure you want to delete this custody?') }}
| # | {{ __('Name') }} | {{ __('Employee') }}/{{ __('Client') }} | {{ __('Status') }} | {{ __('Delivery Attachment') }} | {{ __('Return Attachment') }} | {{ __('Actions') }} | ||
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration + ($custodies->currentPage() - 1) * $custodies->perPage() }} | {{ $custody->name }} | {{ $custody->employee->name ?? ( $custody->client->name ?? '-' ) }} | {{ __(ucfirst($custody->status)) }} | @if($custody->delivery_attachment_url) {{ __('View') }} @else — @endif | @if($custody->return_attachment_url) {{ __('View') }} @else — @endif | @can("custodies edit") @if($custody->status !== 'returned') @endif @endcan @can("custodies edit") @if($custody->status !== 'returned') @endif @endcan @can('custodies update') @if($custody->status === 'pending' && $custody->employee_id == auth()->id()) @endif @endcan @can("custodies delete") @if($custody->status !== 'returned') @endif @endcan {{ __('View') }} | ||
| {{ __('No custodies found.') }} | ||||||||