@props([ 'title' => 'المستند المالي', 'subtitle' => 'إدارة المستند والعمليات المحاسبية', 'badge' => 'العملة: شيكل (₪)', 'document' => null, 'isPosted' => false, 'isDraft' => true, 'printRoute' => null, 'canUnpost' => true, ])
DOC

{{ $title }}

{{ $badge }} @if($isPosted) ✓ معتمد ومرحّل @else مسودة غير مرحّلة @endif

{{ $subtitle }}

@if($isPosted && $canUnpost) @endif @if($printRoute) 🖨️ طباعة ^P @endif @if($isDraft && $document?->id) @endif