{{date("d M Y", strtotime($from))}} to {{date("d M Y", strtotime($to))}} |
Receipts |
Payments |
Opening Balance : {{$balance}} |
Date |
VR No. |
Particulars |
Amount |
VR No. |
Cheque/DD No. |
Amount |
Balance |
@foreach($items as $record)
{{date('d-m-Y', strtotime($record->date))}} |
@if($record->transaction_type === 'debit')
@php($balance -= $record->amount)
|
@else
@php($balance += $record->amount)
@endif
{{$record->number}} |
{{$record->particular}} |
{{$record->amount}} |
@if($record->transaction_type === 'credit')
|
@endif
{{$balance}} |
@endforeach