@extends('layouts.master') @section('page_title', 'General Ledger Report') @section('content')
| Date | Journal Entry | Description | Debit | Credit | Balance |
|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($transaction->entry_date)->format('M j, Y') }} | JE-{{ $transaction->journal_entry_id }} |
{{ $transaction->journal_entry_description ?? 'N/A' }}
@if($transaction->description)
{{ $transaction->description }}
@endif
|
@if($debitAmount > 0) {{ number_format($debitAmount, 2) }} @else - @endif | @if($creditAmount > 0) {{ number_format($creditAmount, 2) }} @else - @endif | {{ number_format($runningBalance, 2) }} |
| Totals for {{ $account->name }} | {{ number_format($account->total_debits ?? 0, 2) }} | {{ number_format($account->total_credits ?? 0, 2) }} | {{ number_format($runningBalance, 2) }} | ||
Accounts with Activity
Total Debits
Total Credits
Total Transactions