@extends('layouts.main') @section('title', 'Balance Sheet') @section('content')
As of {{ now()->format('M d, Y') }}
| {{ $account->name }} ({{ $account->code }}) | ${{ number_format($account->balance, 2) }} |
| Total Assets | ${{ number_format($totalAssets, 2) }} |
No asset accounts
@endif| {{ $account->name }} ({{ $account->code }}) | ${{ number_format($account->balance, 2) }} |
| Total Liabilities | ${{ number_format($totalLiabilities, 2) }} |
No liability accounts
@endif| Retained Earnings | ${{ number_format($retainedEarnings, 2) }} |
| Total Equity | ${{ number_format($retainedEarnings, 2) }} |
Total Liabilities + Equity
Should equal Total Assets
${{ number_format($totalLiabilities + $retainedEarnings, 2) }}