Report Expense

@if(isset($transactions))

All Transactions

@php $count = 0; @endphp @foreach($transactions as $row) @php $acc = App\Models\ChartofAccount::where('id', $row->account_id)->first(); @endphp @endforeach
# Particular Date Title Amount Type
{{++$loop->index}} {{$acc != null ? $acc->name :''}} {{ $row->timestamp}} {{$row->title}} {{$row->amount}} {{$acc != null ? $acc->account_type :''}}
@endif