Company Logo
SALES INVOICE: {{ $order->order_number }}

Billing To:

{{ $order->client->name }}

{{ $order->client->phone }}

{{ $order->client->email }}

{{ $order->address->city }} - {{ $order->address->address }}

QR Code

Invoice ID: {{ $order->invoice_number }}

Date Issued: {{ \Carbon\Carbon::parse($order->date)->format('d, M Y') }} - {{ \Carbon\Carbon::parse($order->time)->format('h:i A') }}

Due Amount: ${{ $order->total_price_after_tax }}

@php $temp_offer = 0; @endphp @foreach ($order['details'] as $detail) @if ($detail->offer_id && $detail->offer_id != $temp_offer) {{-- Display Offer Header --}} @php $temp_offer = $detail->offer_id; @endphp {{-- Offer row colored --}} @if ($detail->offer->discount_type == 'fixed') @else @endif @if ($detail->offer->discount_type == 'fixed') @else @endif {{-- Display Offer Details --}} @foreach ($detail->offer->details as $offer_detail) {{-- Offer details row colored --}} @endforeach @elseif (!$detail->offer_id) {{-- Display Individual Dish Details --}} {{-- Default styling for individual dishes --}} @endif @endforeach @foreach ($order['addons'] as $addon) @endforeach
Item Name Quantity Price Per Unit Total
عرض {{ $detail->offer->name_ar }} ${{ $detail->offer->discount_value }}${{ $detail->total }}${{ $detail->offer->discount_value }}${{ $detail->price_after_tax }}
{{ $offer_detail->dish->name_ar }} {{ $offer_detail->count }} {{ $detail->offer->discount_type == 'fixed' ? '$0' : $detail->total }} ${{ $detail->price_after_tax }}
{{ $detail->dish->name_ar . ' | ' . $detail->dish->name_en }} {{ $detail->quantity }} ${{ $detail->price_befor_tax }} ${{ $detail->total }}
{{ $addon->Addon->addons->name_ar }} {{ $addon->quantity }} ${{ $addon->price_befor_tax }} ${{ $addon->total }}
Total Before Tax: ${{ $order->total_price_befor_tax }}
Tax ({{ getSetting('tax_percentage') }}%): ${{ $order->tax_value }}
Fees: ${{ $order->fees }}
Total After Tax: ${{ $order->total_price_after_tax }}