Company Logo
E-INVOICE
Date: {{ $invoice->created_at->format('d M Y') }}
@if ($invoice->transaction_code)
Invoice #: {{ $invoice->transaction_code }}
@endif
Invoice Information
Date: {{ $invoice->created_at->formatLocalized('%A %d %B %Y') }}
@if ($invoice->transaction_code)
Invoice #: {{ $invoice->transaction_code }}
@endif
Payment Status
{{ ucfirst($invoice->status) }}
Customer Details
@if ($invoice->user)
Customer Code: {{ $invoice->user->reference_code }}
Customer Name: {{ $invoice->user->name }}
Customer Phone: {{ $invoice->user->phone }}
Customer Email: {{ $invoice->user->email }}
@endif
Service Provider
Name: {{ $serviceProvider->title ?? '' }}
Address: {{ $serviceProvider->address ?? '' }}
Service Name: {{ $sofaService->name ?? 'Cleaning Service' }}
Order Details
@if (isset($order->orderItems) && $order->orderItems->count() > 0) @endif @if (isset($order->carpet_width) && isset($order->carpet_height)) @endif @if (isset($order->orderItems) && $order->orderItems->count() > 0) @foreach ($order->orderItems as $item) @if ($loop->first) @endif @if ($loop->first) @endif @endforeach @elseif (isset($order->carpet_width) && isset($order->carpet_height)) @else @endif
Order IDService TypeSizeQuantity Status Unit Price Total
{{ $order->id ?? '' }}{{ $item->sofaServiceType->type_name ?? 'N/A' }} {{ $item->quantity }} {{ ucfirst($order->status) ?? '' }}{{ number_format($item->unit_price, 2) }} QAR {{ number_format($item->subtotal, 2) }} QAR
{{ $order->id ?? '' }} {{ number_format($order->carpet_width, 1) }} x {{ number_format($order->carpet_height, 1) }} m² {{ $order->qty ?? 0 }} {{ ucfirst($order->status) ?? '' }} {{ number_format($order->price_per_sq_meter ?? 0, 2) }} QAR {{ number_format($order->total_price ?? 0, 2) }} QAR
{{ $order->id ?? '' }} {{ $order->qty ?? 0 }} {{ ucfirst($order->status) ?? '' }} {{ number_format($order->price_per_sq_meter ?? 0, 2) }} QAR {{ number_format($order->total_price ?? 0, 2) }} QAR
Total Amount: {{ number_format($order->total_price ?? 0, 2) }} QAR
Payment Details
Payment ID Transaction Code Amount Payment Method Payment Status Payment Date
{{ $invoice->id }} {{ $invoice->transaction_code ?: '---' }} {{ number_format($invoice->amount, 2) }} QAR {{ $invoice->paymentType->payment_type ?? '' }} {{ ucfirst($invoice->status) }} {{ $invoice->created_at->format('d M Y H:i') }}
@if (isset($order->special_instructions) && $order->special_instructions)
Special Instructions
{{ $order->special_instructions }}
@endif