{!! render_image_markup_by_attachment_id(get_static_option('site_white_logo')) !!}
@if($type == 'customer')

{{__('Your Order has been Placed')}}

{{__('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.')}}

@else

{{__('Your have a new order')}}

{{__('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)).'.')}}

@endif

{{__('Billing Details')}}

  • {{__('Name')}} {{$data->billing_name}}
  • {{__('Email')}} {{$data->billing_email}}
  • {{__('Phone')}} {{$data->billing_phone}}
  • {{__('Country')}} {{$data->billing_country}}
  • {{__('Address')}} {{$data->billing_street_address}}
  • {{__('Town')}} {{$data->billing_town}}
  • {{__('District')}} {{$data->billing_district}}
@if($data->different_shipping_address == 'yes')

{{__('Shipping Details')}}

  • {{__('Name')}} {{$data->shipping_name}}
  • {{__('Email')}} {{$data->shipping_email}}
  • {{__('Phone')}} {{$data->shipping_phone}}
  • {{__('Country')}} {{$data->shipping_country}}
  • {{__('Address')}} {{$data->shipping_street_address}}
  • {{__('Town')}} {{$data->shipping_town}}
  • {{__('District')}} {{$data->shipping_district}}
@endif
@php $cart_items = unserialize($data->cart_items); @endphp @foreach($cart_items as $item) @php $product_info = \App\Products::find($item['id']);@endphp @endforeach
{{__('thumbnail')}} {{__('Product Info')}}
{!! 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 )}}

{{__('Order Summery')}}

  • {{__('Shipping Method:')}} {{ucwords(get_shipping_name_by_id($data->product_shippings_id))}}
  • {{__('Payment Method:')}} {{str_replace('_',' ', ucfirst($data->payment_gateway))}}
  • {{__('Payment Status:')}} {{ucfirst($data->payment_status)}}
@if(is_tax_enable()) @php $tax_percentage = get_static_option('product_tax_type') == 'total' ? '('.get_static_option('product_tax_percentage').')' : ''; @endphp @endif
{{__('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)}}