| {{ $key + 1 }} |
{{ $history->staff?->user?->name ?? '—' }} |
{{ $history->staff?->user?->id ?? '—' }} |
{{ $history->staff?->designation?->name ?? '—' }} |
{{ $history->staff?->warehouse?->name ?? '—' }} |
{{ $history->assigned_at?->format('d/m/Y') ?? $history->assign_date?->format('d/m/Y') ?? '—' }} |
{{ $history->returned_at?->format('d/m/Y') ?? ($history->return ? __('Yes') : '—') }} |
{{ $history->return_condition ? ucfirst(str_replace('_', ' ', $history->return_condition)) : '—' }} |
@if((int) $history->status === 4)
{{ __('Damaged') }}
@elseif($history->return_condition === 'consumed')
{{ __('Consumed') }}
@elseif($history->return || $history->returned_at)
{{ __('Returned') }}
@else
{{ __('Assigned') }}
@endif
|
@empty