@extends('layouts.app') @section('title', 'Account Transactions') @section('breadcrumb')
| Date | Type | Description | Reference | Credit | Debit | Balance | By |
|---|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($row['trans_date'])->format('d M Y') }} | {{ ucfirst(str_replace('_',' ',$row['type'])) }} | {{ $row['description'] }} | {{ $row['reference'] ?? '—' }} |
{{ $row['entry_type']==='credit' ? '৳'.number_format($row['amount'],2) : '—' }} | {{ $row['entry_type']==='debit' ? '৳'.number_format($row['amount'],2) : '—' }} | ৳{{ number_format($row['running_balance'],2) }} | {{ $row['created_by'] }} |
| No transactions in this period | |||||||
| Totals: | ৳{{ number_format($summary['total_credits'],2) }} | ৳{{ number_format($summary['total_debits'],2) }} | ৳{{ number_format($summary['closing_balance'],2) }} | ||||
Select an account above to view its transactions.