{{ __('accounting.entry_details') }}
| {{ __('accounting.entry_no') }} | {{ $journal_entry->entry_no }} |
|---|---|
| {{ __('accounting.date') }} | {{ $journal_entry->entry_date->format('Y-m-d') }} |
| {{ __('accounting.period') }} | {{ optional($journal_entry->period)->name ?: '—' }} |
| {{ __('accounting.source') }} | @php $source_type_labels = [ 'transaction' => 'فاتورة', 'transaction_payment' => 'دفعة مالية', 'stock_adjustment' => 'تسوية مخزون', 'manual_journal' => 'قيد يدوي', 'opening_balance' => 'أرصدة افتتاحية', 'reversal' => 'عكس قيد', ]; @endphp{{ $source_type_labels[$journal_entry->source_type] ?? ($journal_entry->source_type ? str_replace('_',' ',$journal_entry->source_type) : '—') }} |
|---|---|
| {{ __('accounting.reference') }} | {{ $journal_entry->source_reference ?: '—' }} |
| {{ __('accounting.memo') }} | {{ $journal_entry->memo ?: '—' }} |
{{ __('accounting.lines') }}
| {{ __('accounting.line_no') }} | {{ __('accounting.account') }} | {{ __('accounting.debit') }} | {{ __('accounting.credit') }} | {{ __('accounting.memo') }} |
|---|---|---|---|---|
| {{ $line->line_no }} | @if(optional($line->account)->account_number) {{ $line->account->account_number }} @endif {{ optional($line->account)->display_name }} | {{ $is_debit ? number_format($line->amount, 2) : '' }} | {{ !$is_debit ? number_format($line->amount, 2) : '' }} | {{ $line->memo ?: '—' }} |
| {{ __('accounting.total') }} | {{ number_format($debit_total, 2) }} | {{ number_format($credit_total, 2) }} | @if(round($debit_total, 4) === round($credit_total, 4)) {{ __('accounting.balanced') }} @else {{ __('accounting.not_balanced') }} @endif | |
{{ __('accounting.audit_trail') }}
| {{ __('accounting.date') }} | {{ __('accounting.actions') }} | {{ __('accounting.created_by') }} | {{ __('accounting.notes') }} | |
|---|---|---|---|---|
| {{ $audit->created_at->format('Y-m-d H:i') }} | {{ ucfirst(str_replace('_',' ', $audit->action)) }} | {{ optional($audit->createdBy)->user_full_name ?: '—' }} | {{ $audit->note ?: '—' }} |
@if($audit->after_values)
JSON{{ json_encode($audit->after_values, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) }}
|
| {{ __('accounting.no_records') }} | ||||
{{ __('accounting.actions') }}
{{ __('accounting.submit_for_approval') }}
{{ __('accounting.approve_and_post') }}
{{ __('accounting.reject_entry') }}
{{ __('accounting.void_draft') }}
{{ __('accounting.reverse_entry') }}