@if($journalEntry)
|
كود
Code
|
اسم الحساب
Account Name
|
مدين
Debit
|
دائن
Credit
|
البيان
Note
|
|---|---|---|---|---|
| {{ $line->account->code }} |
{{ $line->account->name_ar }}
@if($line->account->name)
{{ $line->account->name }}
@endif
|
@if($line->debit > 0)
{{ number_format($line->debit, 2) }}
ج.م
@else
-
@endif
|
@if($line->credit > 0)
{{ number_format($line->credit, 2) }}
ج.م
@else
-
@endif
|
{{ Str::limit($line->description ?? '-', 20) }} |
|
|
{{ number_format($totalDebit, 2) }}
جنيه
|
{{ number_format($totalCredit, 2) }}
جنيه
|
||
|
|
@if($totalDebit == $totalCredit)
متوازن
{{ number_format($totalDebit, 2) }} = {{ number_format($totalCredit, 2) }}
غير متوازن
الفرق: {{ number_format(abs($totalDebit - $totalCredit), 2) }} جنيه
|
|||
هذه الفاتورة ليس لها قيد محاسبي مرتبط بعد.