{{__("Invoice")}} : #{{ $order['ref_id'] ?? "ID"}}
{{__("Created At")}} : {{ format_date($order['created_at'],__("d-m-Y H:i:s")) }}
{{__('Due At')}} : {{ format_date($order['updated_at'],__("d-m-Y H:i:s")) }}
{{getSettingsOf("site_title")}}
{{getSettingsOf("phone_number")}}
- {{getSettingsOf("address")}}
- {{getSettingsOf("address2")}}
{{ $order->customer->full_name }}
{{ $order->customer->phone }}
{{ $order->customer->email }}
@forelse($order->items as $item) @if($loop->last)
{{__("Product")}} {{__("Price")}} {{__("Quantity")}} {{__("Amount")}}
{{ $item->product->name }} {{ format_amount($item->price) }} {{ format_amount($item->quantity) }} {{ format_amount($item->amount,$order->currency) }}
{{__("Subtotal")}} : {{ format_amount($order->subtotal,$order->currency)}}
{{__("Discount")}} : {{ format_amount($order->discount,$order->currency) }}
{{__("Tax")}} : {{ format_amount($order->tax,$order->currency) }}
{{__("Shipping")}} : {{ format_amount($order->shipping,$order->currency) }}
{{__("Total")}} : {{ format_amount($order->total,$order->currency)}}
@endif @empty {{__("No Products.")}} @endforelse @forelse($order->paymentUsages as $usage) @if($loop->last) @endif @empty @endforelse
{{__("Payment Method")}} {{__("Reference")}} {{__("Paid")}} {{__("Used")}}
{{ $usage->payment->method->name ?? "--" }} {{ $usage->payment->provider_reference }} {{ format_amount($usage->payment->paid_amount,$order->currency) }} {{ format_amount($usage->amount_used,$order->currency) }}
{{__("Total")}} {{format_amount($order->paymentUsages->sum("amount_used"),$order->currency)}}
{{__("No Payments.")}}