{{$vendor->name}} From {{\Carbon\Carbon::parse($date[0])->toFormattedDateString()}} To {{\Carbon\Carbon::parse($date[1])->toFormattedDateString()}} |
||||||||||||
Date | LPO/GRN | Ref | Item Desc | Qty | Price | Dr | Cr | Balance | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Open Balance as of {{\Carbon\Carbon::parse($date[0])->toFormattedDateString()}} | {{ ($total > 0) ? number_format($total) : "( ".number_format(-1*$total)." )" }} | |||||||||||
{{\Carbon\Carbon::parse($cash_book_transaction['date'])->toFormattedDateString()}} | JV#{{$cash_book_transaction->journalVoucher->id}} | {{$cash_book_transaction['description']}} | {{--*/ $amount = $cash_book_transaction->amount /*--}}@if($cash_book_transaction['type']=='DEBITED') {{ number_format($amount)}} {{--*/ $total -= $amount /*--}} @endif | @if($cash_book_transaction['type']=='CREDITED') {{ number_format($amount) }} {{--*/ $total += $amount /*--}} @endif | {{ ($total > 0) ? number_format($total) : "( ".number_format(-1*$total)." )" }} | |||||||
{{\Carbon\Carbon::parse($cash_book_transaction['date'])->toFormattedDateString()}} | #{{$goods_received_note_journal_voucher->goodsReceivedNote->lpo()->id}}/ #{{$stock_received_entry->id}} | JV#{{$cash_book_transaction->journalVoucher->id}} | @endif{{$stock_received_entry->item}} | {{number_format($stock_received_entry->quantity)}} {{$stock_received_entry->unit_of_measure}} | {{number_format($stock_received_entry->price_per_item)}} | {{--*/ $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($total_rows_stock_entries > 1) @if($total_rows_stock_entries == ++$y)@if($cash_book_transaction['type']=='DEBITED') {{ number_format($total_amount_stock_entries)}} {{--*/ $total -= $amount /*--}} @endif | @if($cash_book_transaction['type']=='CREDITED') {{ number_format($total_amount_stock_entries) }} {{--*/ $total += $amount /*--}} @endif | @else @if($cash_book_transaction['type']=='DEBITED') {{--*/ $total -= $amount /*--}} @endif @if($cash_book_transaction['type']=='CREDITED') {{--*/ $total += $amount /*--}} @endif@endif @else | {{--*/ $amount = $stock_received_entry->price_per_item*$stock_received_entry->quantity /*--}} @if($cash_book_transaction['type']=='DEBITED') {{ number_format($amount)}} {{--*/ $total -= $amount /*--}} @endif | @if($cash_book_transaction['type']=='CREDITED') {{ number_format($amount) }} {{--*/ $total += $amount /*--}} @endif | @endif{{ ($total > 0) ? number_format($total) : "( ".number_format(-1*$total)." )" }} {{--*/ $i++ /*--}} | |
{{\Carbon\Carbon::parse($cash_book_transaction['date'])->toFormattedDateString()}} | JV#{{$cash_book_transaction->journalVoucher->id}} | {{$cash_book_transaction['description']}} | {{--*/ $amount = $cash_book_transaction->amount /*--}}@if($cash_book_transaction['type']=='DEBITED') {{ number_format($amount)}} {{--*/ $total -= $amount /*--}} @endif | @if($cash_book_transaction['type']=='CREDITED') {{ number_format($amount) }} {{--*/ $total += $amount /*--}} @endif | {{ ($total > 0) ? number_format($total) : "( ".number_format(-1*$total)." )" }} | |||||||
{{ ($total > 0) ? number_format($total) : "( ".number_format(-1*$total)." )" }} |