@extends(niche_shell_layout()) @section('title', niche_label('finance.ledger', 'دفتر الأستاذ').' - '.config('app.name')) @section('breadcrumb') الرئيسية › المحاسبة › كشف حساب @endsection @section('content') @php $ledgerAccountOptions = $accounts->map(fn ($account) => [ 'value' => $account->id, 'label' => trim((string) ($account->code ?? '').' — '.(string) $account->filterHierarchyLabel($accountsById)), ])->all(); @endphp
اختر حساباً وفترة زمنية لعرض الحركات مع الرصيد التراكمي.
الحساب المحدد
{{ $selectedAccount->code }} — {{ $selectedAccount->name_ar }}
@if($selectedAccount->name_en){{ $selectedAccount->name_en }}
@endif| — | — | رصيد افتتاحي | — | — | {{ erp_money($balance) }} |
| {{ $item->journalEntry?->date?->format('Y-m-d') }} | {{ $item->journalEntry?->reference ?? '—' }} | {{ $item->description ?? $item->journalEntry?->description ?? '—' }} | {{ $debit > 0 ? erp_money($debit) : '—' }} | {{ $credit > 0 ? erp_money($credit) : '—' }} | {{ erp_money($balance) }} |
| لا توجد حركات على هذا الحساب في الفترة المحددة. | |||||