| @include('partials.person', ['e' => $p->employee, 'meta' => optional($p->employee->department)->name]) |
{{ rtrim(rtrim(number_format($p->present_days, 1), '0'), '.') }}/{{ rtrim(rtrim(number_format($p->working_days, 1), '0'), '.') }}@if ($p->absent_days) {{ $p->absent_days + 0 }} absent @endif |
{{ money($p->basic_salary, false) }} |
{{ money($p->allowances, false) }} |
{{ money($p->ot_amount, false) }} |
{{ money($p->bonus_amount, false) }} |
{{ money($p->gross_salary, false) }} |
{{ money($p->attendance_deduction, false) }} |
{{ money($p->loan_deduction + $p->advance_deduction, false) }} |
{{ money($p->component_deductions + $p->other_deduction, false) }} |
{{ money($p->net_salary, false) }} |
{!! status_badge($p->status) !!}@if ($p->paid_at) {{ $p->paid_at->format('d M') }} @endif |
@can('Employee Payrolls payslip')@endcan
@unless ($p->isPaid())
@can('Employee Payrolls pay')@endcan
@can('Employee Payrolls generate')@endcan
@can('Employee Payrolls delete')@endcan
@endunless
|
@endforeach