|
Company Information
@if($company && $company->logo_path)
Name: {{ $company->name ?? 'Company Name' }}
Address: {{ $company->address ?? 'Company Address' }}
Phone: {{ $company->phone ?? 'Company Phone' }}
Email: {{ $company->email ?? 'Company Email' }}
@if($company && $company->vat_no)
VAT No: {{ $company->vat_no }}
@endif
@if($company && $company->tin_no)
TIN No: {{ $company->tin_no }}
@endif
Currency: {{ $currency->code }}
|
Report Parameters
Account Range: {{ $fromAccount->account_code }} - {{ $toAccount->account_code }}
Account Names: {{ $fromAccount->account_name }} to {{ $toAccount->account_name }}
Period: {{ $dateFrom }} to {{ $dateTo }}
Report Date: {{ date('d M Y') }}
|
| Date | Description | Reference | DR | CR | Balance |
|---|---|---|---|---|---|
| Opening Balance: | @if($accountData['opening_balance'] < 0) ({{ number_format(abs($accountData['opening_balance']), 2) }}) @else {{ number_format($accountData['opening_balance'], 2) }} @endif | ||||
| {{ $row['date'] }} | {{ $row['description'] }} | {{ $row['reference'] }} | {{ number_format($row['dr'], 2) }} | {{ number_format($row['cr'], 2) }} | @if($row['balance'] < 0) ({{ number_format(abs($row['balance']), 2) }}) @else {{ number_format($row['balance'], 2) }} @endif |
| Account Totals: | {{ number_format($accountData['total_dr'], 2) }} | {{ number_format($accountData['total_cr'], 2) }} | @if($accountData['closing_balance'] < 0) ({{ number_format(abs($accountData['closing_balance']), 2) }}) @else {{ number_format($accountData['closing_balance'], 2) }} @endif | ||
| Account Type Totals: | {{ number_format($typeData['total_dr'], 2) }} | {{ number_format($typeData['total_cr'], 2) }} | @if($typeData['total_closing'] < 0) ({{ number_format(abs($typeData['total_closing']), 2) }}) @else {{ number_format($typeData['total_closing'], 2) }} @endif | ||
| Grand Totals: | {{ number_format($grandTotalDr, 2) }} | {{ number_format($grandTotalCr, 2) }} | @if($grandTotalClosing < 0) ({{ number_format(abs($grandTotalClosing), 2) }}) @else {{ number_format($grandTotalClosing, 2) }} @endif | ||