{{ $company->name }}
{{ $company->address }}
{{$moduleTitle}}
| Bill No |
: |
{{'PO'.$data->order_no}} |
|
Bill Date |
: |
{{date('d-m-Y', strtotime($data->order_date))}} |
|
From Branch |
: |
{{($data->inv_branch) ? $data->inv_branch->name : 'N/A'}} |
| Total Quantity |
: |
{{$data->total_quantity}} |
|
To Supplier |
: |
{{($data->inv_supplier) ? $data->inv_supplier->name : 'N/A'}} |
| SL No. |
Product Name |
Model Name |
Uom Name |
Quantity |
@php $no=0; $t_qty = $t_amount = 0; @endphp
@foreach($data->inv_purchase_order_details as $details)
@php
$purchaseBarcodeQuantity = 0;
$purchaseBarcodeQuantity = $details->quantity;
@endphp
| {{++$no}} |
{{$details->inv_product->name}} |
{{$details->inv_product->inv_model->name}} |
{{$details->inv_product->inv_uom->name}} |
{{$purchaseBarcodeQuantity}} |
@php $t_qty += $purchaseBarcodeQuantity; $t_amount += ($purchaseBarcodeQuantity * $details->inv_product->cost_price); @endphp
@endforeach
| Total |
{{$t_qty}} |