@forelse($items as $key => $item) @php $payment = $item->payrollsDetails->sum('total_payment'); $deduction = $item->payrollsDetails->sum('total_deduction'); $total_salary = $item->payrollsDetails->sum('total_salary'); $adjustment = $item->payrollsDetails->sum('adjustment'); $net_salary = $item->payrollsDetails->sum('net_salary'); @endphp @empty @endforelse
SL Date Month Year Total Payment Total Deduction Total Salary Adjustment Net Salary Payment Salary Due @lang('Created By') @lang('Created Date') @lang('Modify By') @lang('Modify Date') Action
{{ $key + 1 }} {{ $item->date }} {{ MonthName($item->month) }} {{ Year($item->month) }} {{ number_format($payment, 2) }} {{ number_format($deduction, 2) }} {{ number_format($total_salary, 2) }} {{ number_format($adjustment, 2) }} {{ number_format($net_salary, 2) }} 0.00 0.00 {{ $item->created_user }} {{ $item->created_date }} {{ $item->updated_user }} {{ $item->updated_date }} @can('employee-list') @endcan

No data Avaiable

@if ($items instanceof \Illuminate\Pagination\LengthAwarePaginator) {{ $items->links('layouts.paginate') }} @endif