@extends('layouts.main_without_top_button') @section('title') Cash Book Report @stop @section('navigation')
@stop @section('contentinner')
CASH BOOK REPORT FROM {{\Carbon\Carbon::parse($date[0])->toFormattedDateString()}} TO {{\Carbon\Carbon::parse($date[1])->toFormattedDateString()}} |
|||||||||
Date | Particulars | Payee | REF | AMOUNT- DR | AMOUNT- CR | Balance | {{--Amount Due | --}}||
---|---|---|---|---|---|---|---|---|---|
- | bal b/f | @if($cash_book_transactions_open_balance > 0) | {{number_format($cash_book_transactions_open_balance,2)}} | @else | {{number_format($cash_book_transactions_open_balance,2)}} | @endif||||
{{\Carbon\Carbon::parse($cash_book_transaction['date'])->toFormattedDateString()}} | {{$cash_book_transaction['description']}} | {{$cash_book_transaction['payee']}} | {{$cash_book_transaction['document_number']}} | @if($cash_book_transaction['type']=='DEBITED') {{number_format($cash_book_transaction['amount'],2)}} {{--*/ $total += $cash_book_transaction['amount'] /*--}} @endif @if($cash_book_transaction['type']=='OPEN_BALANCE') {{number_format($cash_book_transaction['amount'],2)}} {{--*/ $total = $cash_book_transaction['amount'] /*--}} @endif | @if($cash_book_transaction['type']=='CREDITED') {{number_format($cash_book_transaction['amount'],2)}} {{--*/ $total -= $cash_book_transaction['amount'] /*--}} @endif | {{number_format($total,2)}} |