@extends('layout.admin.master') @section('meta-title', 'Orders') @section('body-class', 'menu-position-side menu-side-left full-screen with-content-panel') @section('breadcrumbs') @endsection @push('asset-top') @endpush @section('content')
Order #00{{$order['order']->id}}
Placed On{{date('F d, Y', strtotime($order['order']->created_at))}}
@csrf
@foreach($order['items'] as $item) @if($item['addons']) @endif @endforeach
Product Info Quantity Price
{{(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->message:'No message'}}
{{$item->quantity}}
{{$item->quantity*$item->price}} KWD
Addons
@foreach($item['addons'] as $addon) @endforeach
{{(app()->currentLocale()=='en')?$addon['addon']->name_en:$addon['addon']->name_ar}}
{{$addon['qty']}}
{{$addon['price']*$addon['qty']}} KWD
Order Summary
Subtotal
{{$order['cart']->subtotal}} KWD
Coupon Code{{$order['cart']->coupon}}
{{($order['cart']->discount)?$order['cart']->discount:0}} KWD
Total
{{(float)$order['cart']->subtotal - (float)$order['cart']->discount}} KWD
{{$order['order']->billing_name}}
Phone
{{$order['order']->billing_phone}}
Address
{{$order['order']->billing_name}} - {{$order['order']->billing_phone}}
{{$order['order']->billing_block}}, {{$order['order']->billing_street}}, {{$order['order']->billing_area}}, {{$order['order']->billing_avenue}}, {{$order['order']->billing_email}}
Payment Method
{{($order['order']->pay_type=='cod')?'Cash on delivery': $order['order']->pay_type}}
@endsection