@if($status != 'need_action')

{{ __('Deputations') }}

@can('deputations create') @endcan
@endif
@forelse($deputations as $dep) @empty @endforelse
{{ __('#') }} {{ __('Employee') }} {{ __('Type') }} {{ __('Start') }} {{ __('End') }} {{ __('Daily') }} {{ __('Total') }} {{ __('Status') }} {{ __('Actions') }}
{{ $loop->iteration + ($deputations->currentPage() - 1) * $deputations->perPage() }} {{ $dep->employee->name }} {{ ucfirst($dep->type) }} {{ $dep->start_date }} {{ $dep->end_date }} {{ $dep->daily_amount }} {{ $dep->total_amount }} {{ __(ucfirst($dep->status)) }} @can('deputations edit') @endcan @can('deputations delete') @endcan {{ __('View') }}
{{ __('No deputations found.') }}
{{ $deputations->links() }}