@extends('layouts.app') @section('content')

Tenant Transactions

@csrf
@if(isset($allTransactions) && count($allTransactions) > 0)
@foreach($allTransactions as $subCode => $details) @if(count($details['transactions']) > 0) @foreach($details['transactions'] as $transaction) @endforeach @else @endif @endforeach
Tenant Name Account Sub Code Transaction Date Details Amount Currency
{{ $details['name'] }} {{ $subCode }} {{ $transaction->TransDate }} {{ $transaction->Details }} {{ number_format($transaction->Amount, 2) }} {{ $currnames }}
{{ $details['name'] }} {{ $subCode }} No transactions found for this tenant
@else
No transactions available. Please use the form above to fetch data.
@endif
@endsection