General Ledger Report

Generated on: {{ date('F j, Y \a\t g:i A') }}

Prolex Law Firm

@foreach ($glAccounts as $account) @endforeach
GL Code GL Name / Description Account Type Debit Credit Balance Currency Last Transaction Date
{{ $account['glcode'] }} {{ $account['name'] }} ${{ number_format($account['debit'], 2) }} ${{ number_format($account['credit'], 2) }} ${{ number_format($account['balance'], 2) }} {{ $account['currency'] }} {{ $account['last_transaction_date'] ? \Carbon\Carbon::parse($account['last_transaction_date'])->format('M d, Y') : 'N/A' }}

Summary

Total Accounts Total Debit Total Credit Net Balance
{{ count($glAccounts) }} ${{ number_format(collect($glAccounts)->sum('debit'), 2) }} ${{ number_format(collect($glAccounts)->sum('credit'), 2) }} ${{ number_format(collect($glAccounts)->sum('balance'), 2) }}