@if($quote->isEditable())
تحديث الحالة:
@foreach(['sent' => 'تم الإرسال للعميل', 'accepted' => 'العميل وافق', 'rejected' => 'العميل رفض', 'draft' => 'إرجاع لمسودة'] as $k => $lbl)
@if($quote->status !== $k)
@endif
@endforeach
@elseif($quote->order)
@endif
@if(session('success'))
{{ $company['name'] }}
@if($company['address'])
{{ $company['address'] }}
@endif
@if($company['vat_no'])
الرقم الضريبي: {{ $company['vat_no'] }}
@endif
@if($company['cr_no'])
السجل التجاري: {{ $company['cr_no'] }}
@endif
عرض سعر
{{ $quote->quote_number }}
| # | الوجبة | الكمية | سعر الوحدة | الإجمالي |
@foreach($quote->items as $i => $it)
| {{ $i + 1 }} |
{{ $it->name }}@if($it->size_name && $it->size_name !== 'عادي') — {{ $it->size_name }}@endif |
{{ $it->qty }} |
{{ $n($it->unit_price) }} |
{{ $n($it->line_total) }} |
@endforeach
المجموع (بدون ضريبة){{ $n($quote->subtotal) }}
@if($quote->discount > 0)
الخصم-{{ $n($quote->discount) }}
@endif
ضريبة القيمة المضافة ({{ rtrim(rtrim(number_format($quote->vat_rate, 2), '0'), '.') }}%){{ $n($quote->vat_amount) }}
الإجمالي شامل الضريبة{{ $n($quote->total) }} ر.س
@if($quote->notes)
ملاحظات وشروط:
{{ $quote->notes }}
@endif
@if($quote->isEditable() && !$print)