@props([ 'document' => null, 'totalDebit' => '0.00', 'totalCredit' => '0.00', 'netAmount' => null, 'isBalanced' => true, 'difference' => '0.00', 'creator' => null, 'poster' => null, 'createdAt' => null, 'postedAt' => null, 'printCount' => 0, 'attachmentPath' => null, 'showDebitsCredits' => true, ])
@if($attachmentPath) 📎 المرفق المؤرشف @else @endif طباعة: {{ $printCount }} مرة @if($document?->isDoubleEntryVerified()) ✓ Double-Entry Verified @endif
@if($showDebitsCredits)
إجمالي المدين: {{ number_format((float)$totalDebit, 2) }} ₪
إجمالي الدائن: {{ number_format((float)$totalCredit, 2) }} ₪
@if($isBalanced) ● متوازن (0.00 ₪) @else ⚠️ غير متوازن: الفارق {{ number_format((float)$difference, 2) }} ₪ @endif @elseif($netAmount !== null)
الصافي النهائي: {{ number_format((float)$netAmount, 2) }} ₪
@endif
المنشئ: {{ $creator?->name ?? 'مدير النظام' }} {{ $createdAt ? \Carbon\Carbon::parse($createdAt)->format('H:i') : now()->format('H:i') }} @if($poster) | المرحّل: {{ $poster->name }} {{ \Carbon\Carbon::parse($postedAt)->format('H:i') }} @endif
Audit Trail Verified • Clean Architecture Core