@extends('frontend.user.user-masters') @section('user-content')

Order detail

Order Date Time: {{ date_format($data->created_at,'Y-M-d H:i') }}

Order Reference: {{$data->reference}}

Order #{{ $data->id }} is currently {{ucwords($data->status)}}

@if($data->tracking_number ?? '')

Order Tracking # {{$data->tracking_number}}

@endif
×
@forelse($data->order_detail as $order_detail) @forelse($order_detail->product as $product) {{--start - calculate the subtotal which is used in the below code--}} @if((float)$product->sale_price > 0)
Warning: Undefined variable $product in /home/keshavvps/public_html/keshav/KG1/HAR/resources/views/frontend/user/order-detail.blade.php on line 57

Warning: Attempt to read property "sale_price" on null in /home/keshavvps/public_html/keshav/KG1/HAR/resources/views/frontend/user/order-detail.blade.php on line 57

Warning: Undefined variable $order_detail in /home/keshavvps/public_html/keshav/KG1/HAR/resources/views/frontend/user/order-detail.blade.php on line 57

Warning: Attempt to read property "quantity" on null in /home/keshavvps/public_html/keshav/KG1/HAR/resources/views/frontend/user/order-detail.blade.php on line 57
@elseif((float)$product->sale_price_sizes > 0)
Warning: Undefined variable $product in /home/keshavvps/public_html/keshav/KG1/HAR/resources/views/frontend/user/order-detail.blade.php on line 59

Warning: Attempt to read property "sale_price_sizes" on null in /home/keshavvps/public_html/keshav/KG1/HAR/resources/views/frontend/user/order-detail.blade.php on line 59

Warning: Undefined variable $order_detail in /home/keshavvps/public_html/keshav/KG1/HAR/resources/views/frontend/user/order-detail.blade.php on line 59

Warning: Attempt to read property "quantity" on null in /home/keshavvps/public_html/keshav/KG1/HAR/resources/views/frontend/user/order-detail.blade.php on line 59
@else
Warning: Undefined variable $product in /home/keshavvps/public_html/keshav/KG1/HAR/resources/views/frontend/user/order-detail.blade.php on line 61

Warning: Attempt to read property "regular_price" on null in /home/keshavvps/public_html/keshav/KG1/HAR/resources/views/frontend/user/order-detail.blade.php on line 61

Warning: Undefined variable $order_detail in /home/keshavvps/public_html/keshav/KG1/HAR/resources/views/frontend/user/order-detail.blade.php on line 61

Warning: Attempt to read property "quantity" on null in /home/keshavvps/public_html/keshav/KG1/HAR/resources/views/frontend/user/order-detail.blade.php on line 61
@endif {{--end - calculate the subtotal which is used in the below code--}} @empty @endforelse @empty @endforelse
product name sku size brand quantity price
apple {{ ($product->product_name ?? '') ?: ($product->product_parent->product_name ?? '') }} {{($product->product_name ?? '') ? ($product->sku ?? '') : ($product->product_parent->sku ?? '')}} {{$order_detail->size_detail->size ?? ''}} {{($product->brand->brand_name ?? '') ?: \App\Models\Brand::find($product->product_parent->brand_id ?? 0)->brand_name ?? ''}} {{$order_detail->quantity ?? '' }} {{number_format((float)($order_detail->price ?? 0), 2, '.', '')}}
Payment Type
Payment Method
@if($data->payment_type == 1)
@elseif($data->payment_type == 2)
@else
@endif
Subtotal
Shipping
{{ number_format((float)$data->shipping, 2, '.', '') }}
Processing
{{ number_format((float)$data->processing, 2, '.', '') }}
Discount
Total
{{ number_format((float)$data->total_price, 2, '.', '') }}
Related Subsriptions
Order #{{$data->id}}
Order Date: {{date_format($data->created_at,'Y-M-d')}}
Status: {{ucwords($data->status)}}
Total: {{ number_format((float)$data->total_price, 2, '.', '') }}

Buyers Info
Name
{{$data->user->first_name ?? ""}} {{$data->user->last_name ?? ""}}
Email
{{$data->user->email ?? ""}}
Contact Number
{{$data->user->phone ?? ""}}
@if(isset($data->order_detail)) @forelse($data->order_detail as $order_detail) @forelse($order_detail->product as $product) @if($product->product_user ?? '')
Seller Info
Name
{{$product->product_user->first_name ?? '' . " " . $product->product_user->last_name ?? ''}}
Email
{{$product->product_user->email ?? ''}}
Contact Number
{{$product->product_user->phone ?? ''}}
@endif @empty @endforelse @empty @endforelse @endif
Billing / Shipping Info
  • Country: {{$billing->country ?? ""}}
  • Address Line 1 : {{$billing->street_address ?? ""}}
  • Address Line 2 : {{$billing->appartment_address ?? ""}}
  • City/Town: {{$billing->city ?? ""}}
  • County : {{$billing->state ?? " "}}
  • Post Code: {{$billing->post_code ?? ""}}
  • Contact Number : {{$billing->phone ?? ""}}
  • Country: {{$shipping->country ?? ""}}
  • Address Line 1 : {{$shipping->street_address ?? ""}}
  • Address Line 2 : {{$shipping->appartment_address ?? ""}}
  • City/Town: {{$shipping->city ?? " "}}
  • County : {{$shipping->state ?? ""}}
  • Post Code: {{$shipping->post_code ?? ""}}
  • Contact Number : {{$shipping->phone ?? ""}}

Shipping Documents
{{--
--}} @if(count($documents) > 0) @foreach($documents as $document) @endforeach @else @endif
Name Type Uploaded At Action
{{$document->name}} {{strtoupper($document->extension)}} {{date_format($document->created_at,'d-m-Y')}} Download
There is no documents
@endsection