@php $fmt = fn($v) => number_format((float) $v, 2); $asOfDate = \Carbon\Carbon::parse($asOf)->format('d M, Y'); @endphp

Balance Sheet

As of {{ $asOfDate }}

Total Assets
{{ $fmt($totalAssets ?? 0) }}
Total Liabilities
{{ $fmt($totalLiabilities ?? 0) }}
Total Equity
{{ $fmt($equity ?? 0) }}
Difference
{{ $fmt($difference ?? 0) }}
Assets
Cash / Bank / MFS Balance {{ $fmt($totalAccountBalances ?? 0) }}
Customer Receivable {{ $fmt($customerDue ?? 0) }}
Employee Outstanding Advance {{ $fmt($employeeOutstandingAdvance ?? 0) }}
Total Assets {{ $fmt($totalAssets ?? 0) }}
Liabilities & Equity
Supplier Payable {{ $fmt($supplierDue ?? 0) }}
Loan Payable {{ $fmt($loanPayable ?? 0) }}
Unpaid Employee Bonus {{ $fmt($unpaidEmployeeBonus ?? 0) }}
Salary Due {{ $fmt($salaryDue ?? 0) }}
Total Liabilities {{ $fmt($totalLiabilities ?? 0) }}
Owner Capital {{ $fmt($ownerCapital ?? 0) }}
Retained Earnings {{ $fmt($retainedEarnings ?? 0) }}
Total Equity {{ $fmt($equity ?? 0) }}
Liabilities + Equity {{ $fmt(($totalLiabilities ?? 0) + ($equity ?? 0)) }}
Cash / Bank / MFS Details
@forelse ($accountRows ?? [] as $row) @empty @endforelse @if (!empty($accountRows) && count($accountRows)) @endif
Account Type Account No Opening Debit Credit Balance
{{ $row['name'] }} {{ ucfirst(str_replace('_', ' ', $row['type'])) }} {{ $row['account_number'] ?: '—' }} {{ $fmt($row['opening']) }} {{ $fmt($row['debit']) }} {{ $fmt($row['credit']) }} {{ $fmt($row['balance']) }}
No active account found.
Total {{ $fmt($totalOpeningBalances ?? 0) }} {{ $fmt(collect($accountRows)->sum('debit')) }} {{ $fmt(collect($accountRows)->sum('credit')) }} {{ $fmt($totalAccountBalances ?? 0) }}
Profit / Retained Earnings Summary
Total Sales {{ $fmt($totalSales ?? 0) }}
Purchase Cost {{ $fmt($totalPurchaseCost ?? 0) }}
General Expenses {{ $fmt($totalExpenses ?? 0) }}
Salary Expense {{ $fmt($payrollExpense ?? 0) }}
Employee Bonus {{ $fmt($bonusExpense ?? 0) }}
Loan Interest Expense {{ $fmt($loanInterestExpense ?? 0) }}
Loan Fee Expense {{ $fmt($loanFeeExpense ?? 0) }}
Loan Finance Cost {{ $fmt($loanFinanceCost ?? 0) }}
Retained Earnings {{ $fmt($retainedEarnings ?? 0) }}
Owner Capital Summary
Owner Investment {{ $fmt($ownerInvestment ?? 0) }}
Owner Drawings {{ $fmt($ownerDrawings ?? 0) }}
Recorded Capital {{ $fmt($ownerCapitalRecorded ?? 0) }}
Retained Earnings {{ $fmt($retainedEarnings ?? 0) }}
Total Equity {{ $fmt($equity ?? 0) }}