{!! render_image_markup_by_attachment_id(get_static_option('site_logo')) !!}
{{__('Billing Details')}}
- {{__('Name')}} {{$order_details->billing_name}}
- {{__('Email')}} {{$order_details->billing_email}}
- {{__('Phone')}} {{$order_details->billing_phone}}
- {{__('Country')}} {{$order_details->billing_country}}
- {{__('Street Address')}} {{$order_details->billing_street_address}}
- {{__('District')}} {{$order_details->billing_district}}
- {{__('Town')}} {{$order_details->billing_town}}
@if($order_details->different_shipping_address == 'yes')
{{__('Shipping Details')}}
- {{__('Name')}} {{$order_details->shipping_name}}
- {{__('Email')}} {{$order_details->shipping_email}}
- {{__('Phone')}} {{$order_details->shipping_phone}}
- {{__('Country')}} {{$order_details->shipping_country}}
- {{__('Street Address')}} {{$order_details->shipping_street_address}}
- {{__('District')}} {{$order_details->shipping_district}}
- {{__('Town')}} {{$order_details->shipping_town}}
@endif
@php $cart_items = unserialize($order_details->cart_items); @endphp
{{__('Order Summery')}}
{{__('Subtotal')}} |
{{amount_with_currency_symbol($order_details->subtotal,true)}} |
{{__('Coupon Discount')}} |
- {{amount_with_currency_symbol($order_details->coupon_discount,true)}} |
{{__('Shipping Cost')}} |
+ {{amount_with_currency_symbol($order_details->shipping_cost,true)}} |
@if(is_tax_enable())
@php $tax_percentage = get_static_option('product_tax_type') == 'total' ? '('.get_static_option('product_tax_percentage').')' : ''; @endphp
{{__('Tax '.$tax_percentage)}} |
+ {{amount_with_currency_symbol(cart_tax_for_mail_template($cart_items),true)}} |
@endif
{{__('Total')}} |
{{amount_with_currency_symbol($order_details->total,true)}} |
{{__('Ordered Products')}}
{{__('thumbnail')}} |
{{__('Product Info')}} |
@foreach($cart_items as $item)
@php $product_info = \App\Products::find($item['id']);@endphp
{!! render_image_markup_by_attachment_id($product_info->image,'','thumb') !!}
|
{{__('Price :')}} {{amount_with_currency_symbol($product_info->sale_price,true)}}
{{__('Quantity :')}} {{$item['quantity']}}
@php $tax_amount = 0; @endphp
@if(get_static_option('product_tax_type') == 'individual' && is_tax_enable())
@php
$percentage = !empty($product_info->tax_percentage) ? $product_info->tax_percentage : 0;
$tax_amount = ($product_info->sale_price * $item['quantity']) / 100 * $product_info->tax_percentage;
@endphp
{{__('Tax ('.$percentage.'%) :')}} +{{amount_with_currency_symbol($tax_amount,true)}}
@endif
{{__('Subtotal :')}} {{amount_with_currency_symbol($product_info->sale_price * $item['quantity'] + $tax_amount ,true)}}
|
@endforeach