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