@vite('resources/css/app.css')
{{ $slogan }}
{{ $report['year']->localizedName() }} · {{ __('app.accounts.fields.as_of') }} {{ \Illuminate\Support\Carbon::parse($report['as_of'])->translatedFormat('d M Y') }}
{{ __('app.accounts.trial_balance.total_debit') }}
{{ number_format((float) $report['total_debit'], 2) }}
{{ __('app.accounts.trial_balance.total_credit') }}
{{ number_format((float) $report['total_credit'], 2) }}
{{ __('app.accounts.fields.status') }}
{{ $report['balanced'] ? __('app.accounts.trial_balance.balanced') : __('app.accounts.trial_balance.unbalanced') }}
| {{ __('app.accounts.trial_balance.columns.code') }} | {{ __('app.accounts.trial_balance.columns.account') }} | {{ __('app.accounts.trial_balance.columns.type') }} | {{ __('app.accounts.trial_balance.columns.debit') }} | {{ __('app.accounts.trial_balance.columns.credit') }} |
|---|---|---|---|---|
| {{ $row['account']->code }} | {{ $row['account']->localizedName() }} @if ($row['account']->category) {{ $row['account']->category->localizedName() }} @endif | {{ $row['account']->type->label() }} | {{ (float) $row['debit_balance'] > 0 ? number_format((float) $row['debit_balance'], 2) : '—' }} | {{ (float) $row['credit_balance'] > 0 ? number_format((float) $row['credit_balance'], 2) : '—' }} |
| {{ __('app.accounts.trial_balance.empty') }} | ||||
| {{ __('app.accounts.vouchers.form.totals') }} | {{ number_format((float) $report['total_debit'], 2) }} | {{ number_format((float) $report['total_credit'], 2) }} | ||