{{ \App\Models\Setting::get('company_name', 'مطبعة برو') }}

{{ \App\Models\Setting::get('company_address') }}
هاتف: {{ \App\Models\Setting::get('company_phone') }} | {{ \App\Models\Setting::get('company_email') }}
رقم ضريبي: {{ \App\Models\Setting::get('company_tax_number') }}

عرض سعر

رقم: {{ $quotation->quotation_no }}
التاريخ: {{ $quotation->quotation_date?->format('Y-m-d') }}
صالح حتى: {{ $quotation->valid_until?->format('Y-m-d') ?? '-' }}

العميل

الاسم: {{ $quotation->customer?->name }}
الكود: {{ $quotation->customer?->code }}
@if($quotation->customer?->phone)
الهاتف: {{ $quotation->customer->phone }}
@endif @if($quotation->customer?->mobile)
الجوال: {{ $quotation->customer->mobile }}
@endif @if($quotation->customer?->tax_number)
الرقم الضريبي: {{ $quotation->customer->tax_number }}
@endif @if($quotation->customer?->address)
العنوان: {{ $quotation->customer->address }}
@endif

تفاصيل العرض

الفرع: {{ $quotation->branch?->name }}
الحالة: {{ $quotation->status_label }}
@foreach($quotation->items as $i => $line) @endforeach
#الوصفالمواصفاتالكميةسعر الوحدةالإجمالي
{{ $i + 1 }} {{ $line->description }} {{ ['offset'=>'أوفست','digital'=>'ديجيتال','flex'=>'فلكس','packaging'=>'تغليف'][$line->printing_type] ?? '' }} @if($line->final_size) - {{ $line->final_size }}@endif @if($line->paper_weight) - {{ $line->paper_weight }} جرام@endif @if($line->colors_front) - {{ $line->colors_front }}+{{ $line->colors_back ?? 0 }}@endif {{ number_format($line->quantity) }} {{ number_format($line->unit_price, 2) }} ج.م {{ number_format($line->total_price, 2) }} ج.م
الإجمالي قبل الخصم:{{ number_format($quotation->subtotal, 2) }} ج.م
الخصم:{{ number_format($quotation->discount_amount, 2) }} ج.م
الضريبة ({{ $quotation->tax_percent }}%):{{ number_format($quotation->tax_amount, 2) }} ج.م
الإجمالي النهائي:{{ number_format($quotation->total_amount, 2) }} ج.م
@if($quotation->terms) @endif @if($quotation->notes) @endif