@php if($order->payment_type == 1) $invoice_vat = $order->vat; else $invoice_vat = ($invoice->total * get_setting('vat')) / 100; $invoice_vat = number_format($invoice_vat, 2); if($invoice->status == 1) $invoice_img = 'invoice_succeeded.png'; elseif($invoice->status == 2) $invoice_img = 'invoice_waiting.png'; else $invoice_img = 'invoice_canceled.png'; @endphp
{{ get_setting('site_name') }}
المملكة العربية السعودية
{{ get_setting('site_main_address') }}| اسم الدورة | {{--تاريخ البداية | --}}قيمة الدورة | @if(!empty($order->discount))الخصم على الدورة | @endifطريقة الدفع | نسبة الدفعة | @if($order->payment_type == 1)الضريبة | @endifالمبلغ المدفوع |
|---|---|---|---|---|---|---|---|
| {{ $course->title }} - {{ $course->place->name }} | {{--{{ $course->getCourseStartDate() }} | --}}{{ $order->subtotal }} ر.س | @if(!empty($order->discount)){{ (!empty($order->discount))? '-' . $order->discount . ' ر.س' : '-' }} | @endif{{ payment_method($invoice->payment_method) }} | {{ $invoice->percent }}% | @if($order->payment_type == 1){{ (!empty($order->vat))? $invoice_vat : 0 }} ر.س | @endif{{ $invoice->total }} ر.س |
| نسبة الضريبة | قيمة الضريبة |
| {{ $order->vat_percent }} % | {{ (!empty($order->vat))? $invoice_vat : 0 }} ريال سعودي |