@extends('layouts.app') @section('title', 'General Ledger') @section('content')
For the Period: {{ $ledger['period'] }}
Account Code
{{ $ledger['account']['account_code'] }}
Account Name
{{ $ledger['account']['account_name'] }}
Account Type
{{ $ledger['account']['account_type'] }}
| Date | Entry Number | Description | Debit | Credit | Balance |
|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($transaction['date'])->format('M d, Y') }} | {{ $transaction['entry_number'] }} | {{ $transaction['description'] }} | @if($transaction['debit_amount'] > 0) {{ number_format($transaction['debit_amount'], 2) }} @else - @endif | @if($transaction['credit_amount'] > 0) {{ number_format($transaction['credit_amount'], 2) }} @else - @endif | {{ number_format($transaction['running_balance'], 2) }} |
| No transactions found for this period. | |||||
Please select an account from the dropdown above to view its general ledger.