{{ trans('storefront::invoice.order_details') }}
|
{{ trans('storefront::invoice.email') }}:
|
{{ $order->customer_email }}
|
{{ trans('storefront::invoice.phone') }}:
|
{{ $order->customer_phone }}
|
{{ trans('storefront::invoice.payment_method') }}:
|
{{ $order->payment_method }}
@if($order->payment_method==='Bank Transfer')
{{setting('bank_transfer_instructions')}}
@endif
|
|
|
{{ trans('storefront::invoice.shipping_address') }}
|
{{ $order->shipping_full_name }}
{{ $order->shipping_address_1 }}
{{ $order->shipping_address_2 }}
{{ $order->shipping_city }}, {{ $order->shipping_state_name }} {{ $order->shipping_zip }}
{{ $order->shipping_country_name }}
|
{{ trans('storefront::invoice.billing_address') }}
|
{{ $order->billing_full_name }}
{{ $order->billing_address_1 }}
{{ $order->billing_address_2 }}
{{ $order->billing_city }}, {{ $order->billing_state_name }} {{ $order->billing_zip }}
{{ $order->billing_country_name }}
|
|
@foreach ($order->products as $product)
{{ $product->name }}
|
@if ($product->hasAnyVariation())
@foreach ($product->variations as $variation)
{{ $variation->name }}:
{{ $variation->values()->first()?->label }}{{ $loop->last ? "" : "," }}
@endforeach
|
|
@endif
@if ($product->hasAnyOption())
@foreach ($product->options as $option)
{{ $option->name }}:
@if ($option->option->isFieldType())
{{ $option->value }}
@else
{{ $option->values->implode('label', ', ') }}
@endif
@endforeach
|
|
@endif
{{ trans('storefront::invoice.unit_price') }}:
{{ $product->unit_price->convert($order->currency, $order->currency_rate)->format($order->currency) }}
|
{{ trans('storefront::invoice.quantity') }}:
{{ $product->qty }}
|
{{ trans('storefront::invoice.line_total') }}:
{{ $product->line_total->convert($order->currency, $order->currency_rate)->format($order->currency) }}
|
|
@endforeach
|
{{ trans('storefront::invoice.subtotal') }}
|
{{ $order->sub_total->convert($order->currency, $order->currency_rate)->format($order->currency) }}
|
@if ($order->hasShippingMethod())
{{ $order->shipping_method }}
|
{{ $order->shipping_cost->convert($order->currency, $order->currency_rate)->format($order->currency) }}
|
@endif
@if ($order->hasCoupon())
{{ trans('storefront::invoice.coupon') }}
({{ $order->coupon->code }})
|
{{ $order->discount->convert($order->currency, $order->currency_rate)->format($order->currency) }}
|
@endif
@foreach ($order->taxes as $tax)
{{ $tax->name }}
|
{{ $tax->order_tax->amount->convert($order->currency, $order->currency_rate)->format($order->currency) }}
|
@endforeach
{{ trans('storefront::invoice.total') }}
|
{{ $order->total->convert($order->currency, $order->currency_rate)->format($order->currency) }}
|
|
|