@if($index == 0)
{{++$item_no}}
|
@endif
@if($i == sizeof($purchase_order_journal_voucher->purchaseOrder->purchaseOrderItems))
{{$purchase_order_item->item->name}} |
{{number_format($purchase_order_item->quantity)}} |
@else
{{$purchase_order_item->item->name}} |
{{number_format($purchase_order_item->quantity)}} |
@endif
@if($index == 0)
{{$purchase_order_journal_voucher->purchaseOrder->id}}
|
{{$purchase_order_journal_voucher->purchaseOrder->grns}}
|
{{number_format($purchase_order_journal_voucher->purchaseOrder->grand_total)}} |
{{$purchase_order_journal_voucher->purchaseOrder->viewPurchaseOrderPayment->total_payment_amount-$purchase_order_journal_voucher->amount}}
|
{{number_format($purchase_order_journal_voucher->amount)}} |
{{--*/ $total_vat_amount += ($purchase_order_journal_voucher->purchaseOrder->vat == 'EXEMPT') ? 0 : $purchase_order_journal_voucher->amount*9/59 /*--}}
@endif
{{--*/ $total_amount += $purchase_order_item->quantity*$purchase_order_item->price /*--}}
{{--*/ $i++ /*--}}
{{--*/ ++$total_items /*--}}
@endforeach
@endforeach
{{--*/ $number_of_rows = 25 - (int)$total_items /*--}}
@for($number_of_rows >=1;$number_of_rows--;)