Report Expense

@if(isset($transactions)) @foreach($transactions as $data)

{{$accountName[$loop->index]}}

@php $count = $loop->index; @endphp @if(count($data) >0) @foreach($data as $row) @endforeach
# Particular Date Voucher Number Credit Debit
{{++$loop->index}} {{$accountName[$count]}} {{ $row->timestamp}} {{$row->voucher_id}} {{$row->amount}} {{$row->amount}}
@endif @endforeach @endif