@extends('admin.layouts.app', ['title' => __('Order')]) @section('content')

#{{$order->order_no}}

  • Name {{$order->user->name ?? ''}} {{$order->user->last_name ?? ''}}
  • Email {{$order->user->email ?? ''}}
  • Phone {{$order->user->phone_number ?? ''}}
  • Shipping Address {{$order->shippingAddress->street_name ?? ''}}, {{$order->shippingAddress->city ?? ''}}, {{$order->shippingAddress->state ?? ''}}, {{$order->shippingAddress->country ?? ''}}, {{$order->shippingAddress->zipcode->code ?? ''}}
  • Order No {{$order->order_no ?? ''}}
  • Date {{date('d-m-Y H:i A', strtotime($order->created_at ?? ''))}}
  • Shipping Method {{$order->shipping_method == 1 ? 'Pickup From Store': 'Fedex'}}
  • Shipping Service {{$order->shipping_method == 2 && $order->shipping_service_type ? $order->shipping_service_type: 'N/A'}}
Image
Details
Price
Quantity
Sub Total
@foreach($order->details as $detail)
@if(!empty($detail->product->productsImageFirst->filename) && \Illuminate\Support\Facades\Storage::exists($detail->product->productsImageFirst->filename)) @else @endif

{{ $detail->product->name ?? ''}}

@if ($order->is_deal == 1)
Size: {{isset($detail->offerVariant->size->name) ? $detail->offerVariant->size->name : ''}}
@else
Size: {{isset($detail->variant->size->name) ? $detail->variant->size->name : ''}}
@endif

{{$detail->product->description ?? ''}}

${{$detail->price ?? ''}}

{{$detail->quantity ?? ''}}
${{$detail->total ?? ''}}
@endforeach
  • Sub Total $ {{$order->sub_total ?? ''}}
  • Shipping Charge $ {{$order->shipping_charge ? $order->shipping_charge: '00.00'}}
  • Grand Total ${{$order->total ?? ''}}
@include('admin.layouts.footers.auth')
@endsection