@if(!empty($receipt_details->letter_head)) @elseif(!empty($receipt_details->logo)) @endif
@if(!empty($receipt_details->header_text))
{!! $receipt_details->header_text !!}
@endif @if(!empty($receipt_details->address))
{{$receipt_details->display_name}} {!! $receipt_details->customer_info_address !!}
@endif @if(!empty($receipt_details->contact))
{{$receipt_details->contact}}
@endif
SIMPLIFIED TAX INVOICE
فاتورة ضريبية مبسطة
CUS ID: رقم العميل: INVOICE TIMESTAMP: وقت الفاتورة:
CUS NAME: اسم العميل: DUE DATE: تاريخ الاستحقاق:
CUS CR: سجل العميل: SALES ORDER ID: رقم طلب البيع:
VAT ID: الرقم الضريبي:
CUS ADRS: عنوان العميل:
User : {{ $receipt_details->added_by }} معرف المستخدم:

@foreach($receipt_details->lines as $line) @endforeach
PROD ID
معرف المنتج
PRODUCT NAME
اسم المنتج
QUANTITY
الكمية
U.P
سعر الوحدة
TOTAL
الإجمالي
TAX
الضريبة
SUBTOTAL
المجموع الفرعي
TOTAL QUANTITY: @if(!empty($receipt_details->total_quantity)) {{$receipt_details->total_quantity}} @endif     TOTAL ITEMS: {{ count($receipt_details->lines) }}
Sell Note
@if(!empty($receipt_details->additional_notes)) @endif
PAYMENT REFERENCE: @if(!empty($receipt_details->payments)) @foreach($receipt_details->payments as $payment) {{$payment['method']}}: {{$payment['amount']}} @endforeach @endif
AMOUNT IN WORDS
@if(!empty($receipt_details->total_unformatted)) {{ app(\App\Utils\TransactionUtil::class)->numberToCurrencyWords($receipt_details->total_unformatted, 'riyal', 'halala', 'en') }} @endif
@if(!empty($receipt_details->total_unformatted)) {{ app(\App\Utils\TransactionUtil::class)->numberToCurrencyWords($receipt_details->total_unformatted, 'ريالًا و', ' هللة فقط', 'ar'); }} @endif
@php // Calculate total VAT (sum of all line taxes) $total_vat = 0; if (!empty($receipt_details->lines)) { foreach ($receipt_details->lines as $line) { if (!empty($line['tax']) && !empty($line['quantity'])) { $total_vat += $line['tax'] * $line['quantity']; } } } @endphp
Gross: المبلغ الكلي:
Discount: الخصم:
After Discount: المبلغ بعد الخصم:
Total VAT: إجمالي ضريبة القيمة المضافة:
Order Tax: ضريبة الطلب:
NET AMOUNT {{ $receipt_details->total }} المبلغ الصافي (مجموع كل شيء):
Paid Amount: المبلغ المدفوع:
Due Amount: المبلغ المستحق:

EXPLANATION VAT NOT CHARGED.
EXPLANATION VAT % CHARGED.
GOODS RETURN IN 100%, WITHIN 03DAYS FROM INVOICE DATE.
*** COMPUTER GENERATED INVOICE. NOSIGNATURE OR STAMP REQUIRED. ***
شرح لماذا لم يتم تحصيل ضريبة القيمة المضافة.
شرح نسبة ضريبة القيمة المضافة المحصلة.
استرجاع البضائع بنسبة 100% خلال 3 أيام من تاريخ الفاتورة.
*** فاتورة مولدة إلكترونياً لا حاجة لتوقيع أو ختم ***
@if($receipt_details->show_qr_code && !empty($receipt_details->qr_code_text)) QR Code @endif