現金簿餘額報表

現金簿餘額報表

報表日期: {{ now()->format('Y-m-d H:i') }}

各帳戶餘額

@if($accounts->isNotEmpty())
@php $totalBalance = 0; @endphp @foreach($accounts as $account) @php $totalBalance += $account['balance']; @endphp
{{ $account['bank_account'] }}
NT$ {{ number_format($account['balance'], 2) }}
@if($account['last_updated'])

最後更新: {{ $account['last_updated']->format('Y-m-d') }}

@endif
@if($account['balance'] >= 0) @else @endif
@endforeach
總餘額
NT$ {{ number_format($totalBalance, 2) }}
@else
暫無帳戶餘額記錄
@endif

本月交易摘要 ({{ now()->format('Y年m月') }})

本月收入
NT$ {{ number_format($monthlySummary['receipts'], 2) }}
本月支出
NT$ {{ number_format($monthlySummary['payments'], 2) }}
淨變動
@php $netChange = $monthlySummary['receipts'] - $monthlySummary['payments']; @endphp
{{ $netChange >= 0 ? '+' : '' }} NT$ {{ number_format($netChange, 2) }}

報表說明

  • 餘額為即時數據,以最後一筆分錄的交易後餘額為準
  • 本月交易摘要統計當月 ({{ now()->format('Y-m') }}) 的所有交易
  • 建議每日核對餘額,確保記錄正確
  • 如發現餘額異常,請檢查分錄記錄是否有誤
@push('styles') @endpush