@extends('layouts.admin') @section('styles') @endsection @section('content')
@include('includes.admin.form-both')

Order Details

@if($order->method != "Cash On Delivery") @if($order->method=="Stripe") @endif @endif @if(!empty($order->order_note)) @endif
Order ID : {{$order->order_number}}
Total Product : {{$order->totalQty}}
Total Cost : {{$order->currency_sign}}{{ round($order->pay_amount * $order->currency_value , 2) }}
Ordered Date : {{date('d-M-Y H:i:s a',strtotime($order->created_at))}}
Payment Method : {{$order->method}}
{{$order->method}} Charge ID : {{$order->charge_id}}
{{$order->method}} Transaction ID : {{$order->txnid}}
Order Note : {{$order->order_note}}

Billing Details

@if($order->coupon_code != null) @endif @if($order->coupon_discount != null) @if($gs->currency_format == 0) @else @endif @endif @if($order->affilate_user != null) @endif @if($order->affilate_charge != null) @if($gs->currency_format == 0) @else @endif @endif
Name : {{$order->customer_name}}
Email : {{$order->customer_email}}
Phone : {{$order->customer_phone}}
Address : {{$order->customer_address}}
Country : {{$order->customer_country}}
City : {{$order->customer_city}}
Postal Code : {{$order->customer_zip}}
Coupon Code : {{$order->coupon_code}}
Coupon Discount :{{ $order->currency_sign }}{{ $order->coupon_discount }}{{ $order->coupon_discount }}{{ $order->currency_sign }}
Affilate User : {{$order->affilate_user}}
Affilate Charge :{{ $order->currency_sign }}{{$order->affilate_charge}}{{$order->affilate_charge}}{{ $order->currency_sign }}
@if($order->dp == 0)

Shipping Details

@if($order->shipping == "pickup") @else @endif
Pickup Location: : {{$order->pickup_location}}
Name: : {{$order->shipping_name == null ? $order->customer_name : $order->shipping_name}}
Email: : {{$order->shipping_email == null ? $order->customer_email : $order->shipping_email}}
Phone: : {{$order->shipping_phone == null ? $order->customer_phone : $order->shipping_phone}}
Address: : {{$order->shipping_address == null ? $order->customer_address : $order->shipping_address}}
Country: : {{$order->shipping_country == null ? $order->customer_country : $order->shipping_country}}
City: : {{$order->shipping_city == null ? $order->customer_city : $order->shipping_city}}
Postal Code: : {{$order->shipping_zip == null ? $order->customer_zip : $order->shipping_zip}}
@endif

Products Ordered

@foreach($cart->items as $key => $product) @endforeach
Product ID# Shop Name Status Product Title Quantity Size Color Total Price
{{ $product['item']['id'] }} @if($product['item']['user_id'] != 0) @php $user = App\Models\User::find($product['item']['user_id']); @endphp @if(isset($user)) {{$user->shop_name}} @else Vendor Removed @endif @endif @if($product['item']['user_id'] != 0) @php $user = App\Models\VendorOrder::where('order_id','=',$order->id)->where('user_id','=',$product['item']['user_id'])->first(); @endphp {{$user->status}} @endif @if($product['item']['user_id'] != 0) @php $user = App\Models\User::find($product['item']['user_id']); @endphp @if(isset($user)) {{strlen($product['item']['name']) > 30 ? substr($product['item']['name'],0,30).'...' : $product['item']['name']}} @else {{strlen($product['item']['name']) > 30 ? substr($product['item']['name'],0,30).'...' : $product['item']['name']}} @endif @else {{strlen($product['item']['name']) > 30 ? substr($product['item']['name'],0,30).'...' : $product['item']['name']}} @endif @if($product['license'] != '') View License @endif {{$product['qty']}} {{ $product['item']['measure'] }} {{$product['size']}} {{$order->currency_sign}}{{ round($product['price'] * $order->currency_value , 2) }}
{{-- LICENSE MODAL --}} {{-- LICENSE MODAL ENDS --}} {{-- MESSAGE MODAL --}}
{{-- MESSAGE MODAL ENDS --}} {{-- ORDER MODAL --}} {{-- ORDER MODAL ENDS --}} @endsection @section('scripts') @endsection