@php $label = $label ?? 'Earnings'; $items = $items ?? []; $maxRows = $maxRows ?? count($items); @endphp
{{ $label }} | |
---|---|
Description | Amount |
@if($label === 'Earnings') {{ $item->pamEarnDef->short_description }} @elseif($label === 'Deductions') {{ $item->pamDeduDef->short_description }} @elseif($label === 'Contributions') {{ $item->pamContDef->short_description }} @endif | {{ number_format($item->fixed_amount, 2, '.', ',') }} |