{{--*/ $total_amount =0 /*--}} @foreach($payment_items as $index=> $item) {{--*/ $total_amount += $item->amount /*--}} @endforeach
S/N Dr Description Amount
{{++$index}} {{ $item->dr }} {{$item->paymentable->self_intro}} {{number_format($item->amount,2)}}
Total Amount {{number_format($total_amount,2)}}