{{ config('app.name') }}

{{ config('app.url') }}

{{ $generalSetting?->email }}

{{ $generalSetting?->mobile }}

Business address

{{ $generalSetting?->address }}

Bill To: {{ $order->customer?->user?->name }}
Address: {{ ($order?->address?->address_line ?? 'N/A') . ($order->address?->address_line2 ? ', ' . $order->address?->address_line2 : '') . ', ' . ($order->address?->city?->name ?? 'N/A') }}
Email: {{ $order->customer?->user?->email }}

Invoice of ({{ $generalSetting?->currency }})

{{ showCurrency($order->payable_amount) }}

Payment Method Invoice Number Invoice Date Order Date
{{ $order->payment_method->value }} #{{ $order->prefix . $order->order_code }} {{ now()->format('d F, Y') }} {{ $order->created_at->format('d F, Y') }}
@if ($order->paymentWithReward)
Payment Info
Client ID: {{ $order->paymentWithReward->client_id }}
Bank Name: {{ $order->paymentWithReward->bank_name }}
Card Holder Name: {{ $order->paymentWithReward->card_holder_name }}
Card Holder Phone No: {{ $order->paymentWithReward->card_holder_phone }}
@endif @foreach ($order->products as $product) @php $price = $product->pivot->price > 0 ? $product->pivot->price : ($product->discount_price > 0 ? $product->discount_price : $product->price); @endphp @endforeach
Item Item Name Rate Quantity Size Color Price
{{ $loop->iteration }}. {{ $product->name }}

{{ Str::limit($product->short_description, 60, '...') }}

{{ showCurrency($price) }} {{ $product->pivot->quantity }} {{ $product->pivot->size ?? 'N/A' }} {{ $product->pivot->color ?? 'N/A' }} {{ showCurrency($price * $product->pivot->quantity) }}

Subtotal

{{ showCurrency($order->total_amount) }}

Discount

{{ showCurrency($order->coupon_discount) }}

Delivery Charge

{{ showCurrency($order->delivery_charge) }}

Total

{{ showCurrency($order->payable_amount) }}