{{$account->name}} From {{\Carbon\Carbon::parse($date[0])->toFormattedDateString()}} To {{\Carbon\Carbon::parse($date[1])->toFormattedDateString()}} |
|||||||
Date | Narrations | Ref | Party | Tran. Amount | Deposit | Withdraw | |
---|---|---|---|---|---|---|---|
Open Balance As of {{\Carbon\Carbon::parse($date[0])->toFormattedDateString()}} : {{ ($total > 0) ? number_format($total,2) : "( ".number_format(-1*$total,2)." )" }} | |||||||
{{\Carbon\Carbon::parse($cash_book_transaction['date'])->toFormattedDateString()}} | {{--{{$cash_book_transaction['supplement_account']}} | --}}{{$cash_book_transaction['description']}} | {{$cash_book_transaction['reference_number']}} | {{$cash_book_transaction['payee']}} | {{number_format($cash_book_transaction['amount'],2)}} | @if($cash_book_transaction['type']=='DEBITED') {{ number_format($amount,2)}} {{--*/ $total += $amount /*--}} {{--*/ $dr_total += $amount /*--}} @endif | @if($cash_book_transaction['type']=='CREDITED') {{ number_format($amount,2) }} {{--*/ $total -= $amount /*--}} {{--*/ $cr_total += $amount /*--}} @endif |
{{number_format($dr_total,2) }} | {{ number_format($cr_total,2) }} | ||||||
Close Balance As of {{\Carbon\Carbon::parse($date[1])->toFormattedDateString()}} : {{ ($total > 0) ? number_format($total,2) : "( ".number_format(-1*$total,2)." )" }} |