|
|
@endusercan
{{ __('SL') }}. | {{ __('Employee') }} | @if (auth()->user()->accessToMultiBranch()){{ __('Branch') }} | @endif{{ __('Month') }} | {{ __('Department') }} | {{ __('Start Date') }} | {{ __('End Date') }} | {{ __('Leave Type') }} | {{ __('Leave Duration') }} | {{ __('Status') }} | {{ __('Action') }} | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @endusercan | {{ ($leaves->currentPage() - 1) * $leaves->perPage() + $loop->iteration }} | {{ $leave->employee->name ?? '' }} | @if (auth()->user()->accessToMultiBranch()){{ $leave->branch->name ?? '' }} | @endif{{ ucfirst($leave->month) }} | {{ $leave->department->name ?? '' }} | {{ formatted_date($leave->start_date) }} | {{ formatted_date($leave->end_date) }} | {{ $leave->leave_type->name ?? '' }} | {{ $leave->leave_duration }} {{ __('Days') }} | @if ($leave->status == 'pending')
Pending
|
@elseif ($leave->status == 'approved')
Approved
|
@elseif ($leave->status == 'rejected')
Rejected
|
@endif
|