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

Sub-Account Transaction Details

Reset
@if(count($transactions) > 0)
@php $runningBalance = 0; @endphp @foreach($transactions as $transaction) @php $runningBalance += ($transaction->debit - $transaction->credit); @endphp @endforeach
@else
No transactions found for the selected criteria

Try adjusting your filters or check if there are any transactions in the selected period.

@endif
@endsection