@if (!empty(config('custom.mail_logo')))
@else
@endif
|
{{config('app.name')}} {{config('settings.address_block_address')}} @if(config('settings.toll_free_number')) Phone: {{config('settings.toll_free_number')}} | @endif @if(config('settings.contact_email')) Email: {{config('settings.contact_email')}} @endif
|
|
Hi {{$order->address->first_name . ' ' . $order->address->last_name}},
{{ config('custom.mail_message_payment_failed') }}.
|
|
Order ID
|
Order Date
|
Payment Status
|
Total
|
{{$order->orderno}}
|
{{date('d-M-Y', strtotime($order->created_at))}}
|
@if($order->payment_method != 'Cash on Delivery' && $order->paid == 0)
Failed
@else
@if($order->paid)
Paid
@else
Unpaid
@endif
@endif
|
{{currency_format($order->shipping_cost + $order->total - $order->coupon_amount + ($order->total * $order->tax) / 100, $order->currency)}}
|
|
@foreach($order->products as $product)
@php
$variants = unserialize($product->pivot->spec);
@endphp
@php
$image_url = \App\Helpers\Helper::check_image_avatar($product->photo->name, 100);
@endphp
@if($product->photo)
@else
@endif
|
{{$product->name}}
@if(is_array($variants) && count($variants))
@foreach($variants as $key => $spec)
{{$spec['name']}} : {{$spec['value']}}
@if(!$loop->last) @endif
@endforeach
@endif
|
Qty : {{$product->pivot->quantity}}
|
{{currency_format($product->pivot->total, $order->currency)}} |
|
|
|
@endforeach
|
Sub-Total:
|
{{currency_format($order->total, $order->currency)}}
|
Tax:({{$order->tax}}%)
|
{{currency_format((($order->total * $order->tax) / 100), $order->currency)}}
|
Shipping Fee:
|
{{isset($order->shipping_cost) ? currency_format($order->shipping_cost, $order->currency) : currency_format(0, $order->currency)}}
|
@if($order->coupon_amount && $order->coupon_amount > 0)
Discount:
|
-{{ currency_format($order->coupon_amount, $order->currency) }}
|
@endif
Order Total
|
{{currency_format($order->shipping_cost + $order->total - $order->coupon_amount + ($order->total * $order->tax) / 100, $order->currency)}}
|
|
Delivery Information
|
{{$order->address->first_name}} {{$order->address->last_name}}
|
{{$order->address->address}}
|
{{$order->address->city}}-{{$order->address->zip}},
|
{{$order->address->state}}, {{$order->address->country}}.
|
|