{{__('Order #'.$data->id)}}
{{__('Hey')}} {{$data->billing_name}}
{{__('Your order #'.$data->id)}} {{__('has been placed on '.date_format($data->created_at,'d F Y H:m:s'))}} {{__('via '.ucwords(str_replace('_',' ',$data->payment_gateway)).'. You will be updated with another email after your item(s) has been shipped.')}}
{{__('Order #'.$data->id)}}
{{__('Hey')}}
{{__('Your have an order #'.$data->id)}} {{' '.$data->billing_name}}{{__(' has been placed it on '.date_format($data->created_at,'d F Y H:m:s'))}} {{__('via '.ucwords(str_replace('_',' ',$data->payment_gateway)).'.')}}
{{__('thumbnail')}} | {{__('Product Info')}} | @php $cart_items = unserialize($data->cart_items); @endphp @foreach($cart_items as $item) @php $product_info = \App\Products::find($item['id']);@endphp
---|---|
{!! render_image_markup_by_attachment_id($product_info->image,'','thumb') !!}
|
{{$product_info->title}}{{__('Price :')}} {{amount_with_currency_symbol($product_info->sale_price)}} {{__('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)}} @endif {{__('Subtotal :')}} {{amount_with_currency_symbol($product_info->sale_price * $item['quantity'] + $tax_amount )}} |
{{__('Subtotal')}} | {{amount_with_currency_symbol($data->subtotal)}} |
{{__('Coupon Discount')}} | - {{amount_with_currency_symbol($data->coupon_discount)}} |
{{__('Shipping Cost')}} | + {{amount_with_currency_symbol($data->shipping_cost)}} |
{{__('Tax '.$tax_percentage)}} | + {{amount_with_currency_symbol(cart_tax_for_mail_template($cart_items))}} |
{{__('Total')}} | {{amount_with_currency_symbol($data->total)}} |