Order Confirm

Thank you!

Your order #{{$order->invoice_id}} has been placed!

Order Type : {{$order->type}}

Order: #{{$order->invoice_id}}
Date: {{ $order->updated_at->format('Y-m-d') }}
Order Status: {{$order->status}}

@if($order->type == 'pickup')
{{__('Pickup')}}

{{__('Branch')}}: {{$branch->name}},
{{__('Pickup Time')}}: {{$order->pickup_time}} {{__('hrs')}},
{{$order['billing_email']}}

@else
{{__('Delivery Address')}}

@if($order->address_id) {{$address->name}} - {{$address->phone}}
{{$address->block}}, {{$address->street}}, {{(app()->getLocale()=='en')?$address->area_en:$address->area_ar}}, {{$address->avenue}}, {{$address->email}} @else {{$order->billing_name}} - {{$order->billing_phone}}
{{$order->billing_block}}, {{$order->billing_street}}, {{(app()->getLocale()=='en')?$order->area_en:$order->area_ar}}, {{$order->billing_avenue}}, {{$order->billing_email}} @endif

{{__('Billing Address')}}

{{$order->billing_name}} - {{$order->billing_phone}}
{{$order->billing_block}}, {{$order->billing_street}}, {{(app()->getLocale()=='en')?$order->area_en:$order->area_ar}}, {{$order->billing_avenue}}, {{$order->billing_email}}

@endif
{{__('Payment Method')}}

{{($order->pay_type=='credit_card')?'Credit Card':(($order->pay_type=='cod')?'Cash On Delivery':'KNET')}}

  • Product Name
    Price
    QTY
    Subtotal
  • @foreach($cart as $item)
  • {{(app()->currentLocale()=='en')?$item['product']->name_en:$item['product']->name_ar}}

    @if($item->weight)
    {{__('Weight')}} : {{$item->weight}}
    @endif @if($item['variation_id'])
    @if($item['variations'])
      @foreach($item['variations'] as $variation) @php $varTitle = (app()->currentLocale()=='en') ? $variation['main']['name_en']:$variation['main']['name_ar']; @endphp @if($variation['main']['input_type']!='text') @foreach($variation['mainval'] as $k=>$v) @php $varvalTitle = (app()->currentLocale()=='en') ? $v['name_en']:$v['name_ar']; $varprice = $variation['price'][$k]; $varqty = $variation['qty'][$k]; @endphp @if($varvalTitle)
    • {{$varTitle}} : {{$varvalTitle}} ({{$varprice}} KWD X {{$varqty}} = {{$varprice*$varqty}} KWD)
    • @endif @endforeach @else @php $varvalTitle = $variation['mainval']; $varprice = $variation['price']; $varqty = $variation['qty']; @endphp
    • {{$varTitle}} : {{$varvalTitle}} ({{$varprice}}KWD X {{$varqty}} = {{$varprice*$varqty}}KWD)
    • @endif @endforeach
    @endif
    @endif
    {{$item->price}} {{__('KWD')}}
    {{$item->quantity}}
    {{$item->quantity*$item->price}} {{__('KWD')}}
    @if($item['addons'])

    {{__('Add Ons')}}

      @foreach($item['addons'] as $addon)
    • {{(app()->currentLocale()=='en')?$addon['addon']->name_en:$addon['addon']->name_ar}}

      {{$addon['price']}} {{__('KWD')}}
      {{$addon['qty']}}
      {{$addon['price']*$addon['qty']}} {{__('KWD')}}
    • @endforeach
    @endif
  • @endforeach
  • {{__('Total')}}{{$cart[0]['cart']['subtotal']}} {{__('KWD')}}
  • {{__('Delivery Charge')}} +{{$order->shipping}} {{__('KWD')}}
  • {{__('Discount Code')}}{{$cart[0]['cart']['discount'] > '0' ? '-'.$cart[0]['cart']['discount'] :'0'}} {{__('KWD')}}
  • {{__('Grand Total')}}{{$cart[0]['cart']['subtotal'] - $cart[0]['cart']['discount'] + $order->shipping}} {{__('KWD')}}