@extends('layouts.app') @section('customcss') @endsection @section('content')
| # | Date | Description | Type | Amount | Balance After | Change |
|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ \Carbon\Carbon::parse($item['date'])->format('M d, Y') }} | {{ $item['description'] }} | {{ ucfirst($item['type']) }} | {{ $item['type'] === 'expense' ? '-' : '+' }}UGX {{ number_format($item['amount'], 2) }} | UGX {{ number_format($item['balance'], 2) }} | @php $change = $item['balance'] - $previousBalance; $previousBalance = $item['balance']; @endphp {{ $change >= 0 ? '+' : '' }}{{ number_format($change, 2) }} |
No approved transactions with balance_after records found.