-
{!! $ltaList->appends(request()->query())->links() !!}
@extends('app-new') @push('head-script') @endpush @push('content-header')
@endpush @push('prev-next-head')| {{ trans('master/master.sn') }} | {{ trans('Employee') }} | {{ trans('Amount') }} | {{ trans('Payable Month') }} | {{ trans('Payable Year') }} | {{ trans('common/common.status') }} | {{ trans('master/master.action') }} | @if ($ltaList->count() > 0) @foreach ($ltaList as $key => $item)
|---|---|---|---|---|---|---|
| {{ $ltaList->firstItem() + $key }} | {{ ucfirst(optional($item->employee)->first_name ?? '') }} {{ ucfirst(optional($item->employee)->last_name ?? '') }} ({{ optional($item->employee)->employee_code ?? '' }}) | {{ number_format($item->amount, 2) }} | @php $months = ['1' => 'January', '2' => 'February', '3' => 'March', '4' => 'April', '5' => 'May', '6' => 'June', '7' => 'July', '8' => 'August', '9' => 'September', '10' => 'October', '11' => 'November', '12' => 'December']; @endphp {{ $months[$item->payable_month] ?? $item->payable_month }} | {{ $item->payable_year }} | @if ($item->status === 'paid') Paid @else Unpaid @endif |
|
| Record not found | ||||||