@if($userImagePath ?? null)
@else
{{ strtoupper(substr($user?->name ?? '?', 0, 1)) }}
@endif
{{ $user?->name ?? 'N/A' }}
@if($user?->designation)
{{ $user->designation }}
@endif
{{ $currentAddress }}
@endif
@if($user?->email)
{{ $user->email }}
@endif
Employees ID
#{{ str_pad($user?->id ?? 0, 5, '0', STR_PAD_LEFT) }}
Additions
@if($payroll->additions && $payroll->additions->count() > 0)
@foreach($payroll->additions as $addition)
{{ $addition->reason }}
+ {{ number_format($addition->amount, 2) }}
@endforeach
@else
No additions found.
@endif
Deductions
@if($payroll->deductions && $payroll->deductions->count() > 0)
@foreach($payroll->deductions as $deduction)
{{ $deduction->reason }}
- {{ number_format($deduction->amount, 2) }}
@endforeach
@else
No deductions found.
@endif
Taxes
@if($payroll->taxes && $payroll->taxes->count() > 0)
@foreach($payroll->taxes as $tax)
{{ $tax->reason }}
- {{ number_format($tax->amount, 2) }}
@endforeach
@else
No taxes found.
@endif