@props([ 'documentTitle' => 'مستند مالي ومحاسبي', 'documentType' => 'document', 'documentNumber' => '', 'documentStatus' => 'draft', // draft, posted, voided 'sequenceId' => null, 'sequences' => [], 'journalEntryId' => null, 'attachments' => [], 'printUrl' => null, 'printThermalUrl' => null, 'exportPdfUrl' => null, 'exportExcelUrl' => null, 'activeTab' => 'drafts', // drafts, posted 'draftCount' => 0, 'postedCount' => 0, 'draftsUrl' => '#', 'postedUrl' => '#', 'canUnpost' => true, 'isPinnedDate' => false, ])
@if($documentStatus === 'posted') ✓ @else ✏️ @endif

{{ $documentTitle }}

{{ $documentStatus === 'posted' ? 'مرحّل ومعتمد (أصل)' : 'مسودة جديدة (غير مالي)' }} @if($documentStatus === 'posted') أثر محاسبي نافذ @endif
رقم المستند: {{ $documentNumber }} @if(count($sequences) > 1) · تسلسل الترقيم: @endif
@if($documentStatus === 'draft') @else @if($canUnpost) @endif @endif
PDF XLS @if($journalEntryId) عرض القيد @endif