{{--

VENDOR REPORT

--}}
PAYMENT REQUEST DOC#.: {{str_pad($journal_voucher->transaction_id, 5, '0', STR_PAD_LEFT)}}
SERIAL NO.: {{$journal_voucher->id}}
Date : {{\Carbon\Carbon::parse($journal_voucher->date)->format('jS')."-".\Carbon\Carbon::parse($journal_voucher->date)->format('F')."-".\Carbon\Carbon::parse($journal_voucher->date)->format('Y')}}
VRN NO {{$company->vin}} TIN NO {{$company->tin}}
@if($journal_voucher->party->phone_number) @endif
Supplier
 
Name {{$journal_voucher->party->name}}
Address @if($journal_voucher->party->address) {{$journal_voucher->party->address}} ,@endif @if($journal_voucher->party->region) {{$journal_voucher->party->region}} @endif
Contacts Phone:{{$journal_voucher->party->phone_number}}
TIN {{$journal_voucher->party->tin}}
VRN {{$journal_voucher->party->vrn}}
Misc
 
Cheque#. {{$journal_voucher->cheque_number}}
Payment Request for the below items:
{{--*/ $total_amount = 0 /*--}} {{--*/ $i = 0 /*--}} {{--*/ $sub_amount_usd = 0 /*--}} {{--*/ $sub_amount_tsh = 0 /*--}} {{--*/ $total_tax_usd = 0 /*--}} {{--*/ $total_tax_tsh = 0 /*--}} {{--*/ $sub_trip_amount = 0 /*--}} {{--*/ $number_of_rows = 6/*--}} {{--*/ $y = 0 /*--}} {{--*/ $total_amonut = 0 /*--}} {{--*/ $amount = 0 /*--}} @foreach($journal_voucher->purchaseOrderPaymentRequests as $purchase_order_journal_voucher) {{--*/ $total_amount_stock_entries = 0/*--}} @foreach($purchase_order_journal_voucher->purchaseOrder->purchaseOrderGoodsReceivedNotes as $purchaseOrderGoodsReceivedNote) {{--*/ $total_rows_stock_entries = sizeof($purchaseOrderGoodsReceivedNote->goodsReceivedNote->stockReceivedEntries) /*--}} @foreach($purchaseOrderGoodsReceivedNote->goodsReceivedNote->stockReceivedEntries as $index=>$stock_received_entry) @if($index == 0) @endif @if($index == 0) @endif {{--*/ $total_amonut += $stock_received_entry->price_per_item*$stock_received_entry->quantity /*--}} {{--*/ $total_amount_stock_entries += $stock_received_entry->price_per_item*$stock_received_entry->quantity /*--}} {{--*/ $amount += $stock_received_entry->price_per_item*$stock_received_entry->quantity /*--}} @if($index == 0) @endif {{--*/ $i++ /*--}} @endforeach @endforeach @endforeach {{-- --}} {{-- --}} {{-- --}} {{-- --}}
Date Lpo# Items Desc Qty GRN# Amount
{{\Carbon\Carbon::parse($purchaseOrderGoodsReceivedNote->goodsReceivedNote->date)->toFormattedDateString()}} #{{$purchaseOrderGoodsReceivedNote->goodsReceivedNote->lpo()->id}} {{$stock_received_entry->item}} {{number_format($stock_received_entry->quantity)}} {{$stock_received_entry->unit_of_measure}}@ {{number_format($stock_received_entry->price_per_item)}} #{{$purchaseOrderGoodsReceivedNote->goodsReceivedNote->id}} {{number_format($purchaseOrderGoodsReceivedNote->goodsReceivedNote->amount)}}
SUB TOTAL {{number_format($amount-$total_vat_amount)}}
--}} {{-- VAT(18%)--}} {{-- {{number_format($total_vat_amount,2)}}
TOTAL AMOUNT {{number_format($amount)}}