Opening Balance |
{{number_format($balance)}} |
@foreach($records as $r)
{{$r['bill_id']}} |
{{date('d-m-Y',strtotime($r['date']))}} |
{{$r['category']}} |
{{$r['memo']}} |
@if($r['bill'])
|
{{number_format($r['amount'])}} |
@else
{{number_format($r['amount'])}} |
|
@endif
@if($balance >= 0)
{{number_format($balance)}}
@else
({{number_format(abs($balance))}})
@endif
|
@endforeach
Total |
{{number_format($debit)}} |
{{number_format(abs($credit))}} |
{{number_format($balance)}} |
Closing Balance |
@if($balance >= 0)
{{number_format($balance)}}
@else
({{number_format(abs($balance))}})
@endif
|