收支記錄 (收支記錄)

@if (session('status'))

{{ session('status') }}

@endif

交易列表

追蹤所有收入和支出交易

總收入
NT$ {{ number_format($totalIncome, 2) }}
總支出
NT$ {{ number_format($totalExpense, 2) }}
@forelse($transactions as $transaction) @empty @endforelse
交易列表
日期 類型 帳戶 描述 金額 操作
{{ $transaction->transaction_date->format('Y-m-d') }} @if($transaction->transaction_type === 'income') 收入 @else 支出 @endif
{{ $transaction->chartOfAccount->account_name_zh }}
{{ $transaction->chartOfAccount->account_code }}
{{ $transaction->description }} {{ $transaction->transaction_type === 'income' ? '+' : '-' }}NT$ {{ number_format($transaction->amount, 2) }} 檢視

找不到交易記錄

@if($transactions->hasPages())
{{ $transactions->links() }}
@endif