المصدر: Dream Fitness - حلم الرشاقة
الرقم الضريبي: 311360515100003
رقم الفاتورة: {{ $invoice->number }}
تاريخ الإصدار: {{ $invoice->created_at->format('Y-m-d H:i') }}
رقم خدمة العملاء: +966554249938
اسم العميل: {{ $invoice->user?->name ?? '-' }}
رقم العميل: {{ $invoice->user?->mobile ?? '-' }}
@if($invoice->user?->city_id != null)المدينة: {{ $invoice->user?->city?->name ?? '-' }}
@endifالفرع: {{ $invoice->branch?->name ?? '-' }}
@if($invoice->type == \App\Enums\InvoiceType::ORDER && $invoice->invoiceable) @if($invoice->invoiceable?->pick_up_branch)نوع التسليم: استلام من الفرع
@elseif($invoice->invoiceable?->address)نوع التسليم: توصيل إلى العنوان
@endif @endifالشحن: شركة ارميكس
رقم البوليصه : {{$invoice->invoiceable->awb_number ?? "-" }}
@endif @if($invoice->type == \App\Enums\InvoiceType::ORDER && $invoice->invoiceable) @if($invoice->invoiceable?->address)نوع التسليم: توصيل إلى العنوان
العنوان: {{ $invoice->invoiceable->address->name ?? '-' }}
الشارع: {{ $invoice->invoiceable->address->street_name ?? '-' }}
رقم المبنى: {{ $invoice->invoiceable->address->number ?? '-' }}
الطابق: {{ $invoice->invoiceable->address->floor ?? '-' }}
علامة مميزة: {{ $invoice->invoiceable->address->mark ?? '-' }}
@endif @elseif($invoice->type == \App\Enums\InvoiceType::SUBSCRIPTION)النوع: {{ $invoice->type?->getLabel() ?? '-' }}
الحالة: {{ $invoice->status?->getLabel() ?? '-' }}
@endif| م | كود الصنف | وصف الصنف | الكمية | السعر | القيمة قبل الخصم | قيمة الخصم | القيمة بعد الخصم |
|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $item->orderable->code ?? '-' }} | {{ $item->orderable->name ?? '-' }} | {{ $item->quantity }} | {{ number_format($price, 2) }} ر.س | {{ number_format($totalBeforeDiscount, 2) }} ر.س | {{ number_format($discount, 2) }} ر.س | {{ number_format($total, 2) }} ر.س |
| م | الوصف | من | الى | القيمة قبل الخصم | قيمة الخصم | القيمة بعد الخصم |
|---|---|---|---|---|---|---|
| 1 | {{ $invoice->invoiceable->plan->name ?? '-' }} | {{ $invoice->invoiceable->starts_at ?? '-' }} | {{ $invoice->invoiceable->ends_at ?? '-' }} | {{ number_format($price, 2) }} | {{ number_format($discount, 2) }} | {{ number_format($total, 2) }} |
| الإجمالي: | {{ number_format($totalBeforeTax, 2) }} ر.س |
| مجموع الخصم: | --}} {{--{{ number_format($discount, 2) }} ر.س | --}} {{--
| قيمة الضريبة المضافة : | {{ $tax }} ر.س |
| الإجمالي شامل الضريبة : | {{ number_format($totalAfterTaxAndDiscount, 2) }} ر.س |