{{ config('settings.company_name')}}
{{ config('settings.address_1') }}
{{$heading}}
{{$extra['branch_name']}} @if($search_by['from'] && $search_by['to']) From: {{ $transaction->date_format($search_by['from']) }} To: {{ $transaction->date_format($search_by['to']) }} @else {{ 'Upto ' .$transaction->date_format(now()) }} @endif
@php $total_quantity = $total_received_quantity = $total_amount = 0; @endphp @foreach($purchase_order_items_sorted as $head_id => $purchase_order_items) @php $head = \App\Models\IncomeExpenseHead::find($head_id); $head_name = $head->name; @endphp @foreach ($purchase_order_items as $purchase_order_item) @php $item = $purchase_order_item->item; $purchase_order = $purchase_order_item->purchase_order; $purchase_requisition = $purchase_order->purchase_requisition; $total_quantity += $purchase_order_item->quantity; $total_received_quantity += $purchase_order_item->quantity_received; $total_bal_qty += $purchase_order_item->quantity - $purchase_order_item->quantity_received; $total_amount += $purchase_order_item->amount; @endphp @endforeach @endforeach
{{__('lang.serial_no')}} {{__('lang.project')}} {{__('lang.purchase_order_no')}} {{__('lang.requisition_no')}} {{__('lang.issuing_date')}} {{__('lang.delivery_date')}} {{__('lang.vendor_name')}} {{__('lang.item')}} {{__('lang.description')}} {{__('lang.total_qty')}} {{__('lang.received_qty')}} {{__('lang.balance_qty')}} {{__('lang.rate')}} {{$transaction->systemSettingCurrency()}} {{__('lang.total')}} {{$transaction->systemSettingCurrency()}} {{__('lang.payment_status')}}
{{ $head_name }}
{{$loop->iteration}} {{$purchase_order->branch->name??'-'}} {{$purchase_order->purchase_id}} {{$purchase_requisition->requisition_id}} {{$transaction->date_format($purchase_order->issuing_date)}} {{$transaction->date_format($purchase_order->date_of_delevery)}} {{$purchase_order->vendor->name ??'-'}} {{$item->name}} ({{ $item->unit }}) {{$purchase_order_item->description}} {{$purchase_order_item->quantity}} {{$purchase_order_item->quantity_received}} {{$purchase_order_item->quantity - $purchase_order_item->quantity_received }} {{$purchase_order_item->rate}} {{$transaction->convert_money_format($purchase_order_item->amount)}} {{$purchase_order->payment_status}}
{{__('lang.total')}} {{$total_quantity}} {{$total_received_quantity}} {{$total_bal_qty}} {{$transaction->convert_money_format($total_amount)}}