@extends('layout.frontend.master') @section('meta-title', 'Payment - LEREVE') @push('asset-top') @endpush @section('content')

{{__('Order Confirm')}}

{{__('Thank you')}} !

{{__('Your order')}} #00{{$order->id}} {{__('has been placed')}} !

{{__('Order')}} : #00{{$order->id}}
{{__('Date')}} : {{date('m/d/Y', strtotime($order->created_at))}}
{{__('Order Status')}} : {{ucwords($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
      @if($order->type == 'pickup')
    • @if($item['area']) {{ app()->currentLocale() == 'en' ? $item['area']->name_en : $item['area']->name_ar }} @else {{ __('Area Not Available') }} @endif
    • {{$item->delivery_date}}
    • {{ isset($item['slot']) ? date('h:i A', strtotime($item['slot']->start)) . ' - ' . date('h:i A', strtotime($item['slot']->end)) : __('Slot Not Available') }}
    • @endif
    • {{$item->message}}
    {{$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
  • {{__('SubTotal')}}{{$cart[0]['cart']['subtotal']}} {{__('KWD')}}
  • {{__('Discount Code')}} {{$cart[0]['cart']['discount'] > '0' ? '-'.$cart[0]['cart']['discount'] :'0'}} {{__('KWD')}}
  • {{__('Delivery Charge')}} +{{$order->shipping}} {{__('KWD')}}
  • {{__('Grand Total')}}{{$cart[0]['cart']['subtotal'] - $cart[0]['cart']['discount'] + $order->shipping}} {{__('KWD')}}
@endsection