Uneek
Invoice Number: {{ $order->number() }}
INVOICE TO:
{{ $order->user->name ?? $order->enquiry->contact_person ?? '' }}
{{ $order->user->phone ?? $order->enquiry->phone_whatsapp ?? '' }}
{{ $order->user->company_name ?? $order->enquiry->company_name ?? '' }}
Factory Invoice
Invoice Date: {{ $order->created_at->format('d-m-Y') }}
Product Qty Unit Cost Amount
{{ $order->product_name ?: ($order->enquiry->product_required ?? 'Factory product') }} {{ number_format((float) $order->quantity) }} SAR {{ number_format((float) $order->unit_cost, 2) }} SAR {{ number_format((float) $order->unit_cost * (float) $order->quantity, 2) }}
@php $symbol = config('constants.currency_symbol', 'SAR'); $remaining = (float) $order->grand_total - (float) $paidAmount; @endphp
Delivery{{ $symbol }} {{ number_format((float) $order->delivery_cost, 2) }}
Sub Total{{ $symbol }} {{ number_format((float) $order->subtotal, 2) }}
VAT (15%){{ $symbol }} {{ number_format((float) $order->vat_amount, 2) }}
Grand Total{{ $symbol }} {{ number_format((float) $order->grand_total, 2) }}
Advance ({{ $order->advance_percent }}%){{ $symbol }} {{ number_format((float) $order->advance_amount, 2) }}
Amount Received{{ $symbol }} {{ number_format((float) $paidAmount, 2) }}
Remaining Balance {{ $symbol }} {{ number_format($remaining, 2) }}