@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}}

    {{__('Weight')}} : {{$item->weight}}
    • {{(app()->currentLocale()=='en')?$item['area']->name_en:$item['area']->name_ar}}
    • {{$item->delivery_date}}
    • {{date('h:i A', strtotime($item['slot']->start))}} - {{date('h:i A', strtotime($item['slot']->end))}}
    • {{$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
  • {{__('Total')}}{{$cart[0]['cart']['subtotal']}} {{__('KWD')}}
  • {{__('Discount Code')}} -{{$cart[0]['cart']['discount']}} {{__('KWD')}}
  • {{__('Grand Total')}}{{$cart[0]['cart']['subtotal'] - $cart[0]['cart']['discount']}} {{__('KWD')}}
@endsection