@extends('frontend.dashboard.dashboard-app') @section('dashboard_contents')

Orders tracking

To track your order please enter your OrderID in the box below and press "Track" button. This was given to you on your receipt and in the confirmation email you should have received.

@if ($order)
Purchased by:

{{ $order->user->name }}

Store:

{{ $order->store->name }}

Status:

{{ $order->order_status }}

tracking:

#{{ $order->id }}

    @forelse($order->orderHistory as $orderHistory)
  • {{ $orderHistory->status }}
  • @empty
  • Order pending
  • @endforelse
@php $subtotal = 0; @endphp @foreach ($order->orderProducts as $orderProduct) @php $subtotal += $orderProduct->unit_price * $orderProduct->quantity; @endphp @endforeach
Product Qnt Unit ({{ $order->currency }}) Amount ({{ $order->currency }})
{{ $loop->iteration }}

{{ $orderProduct->product->name }}

{{ $orderProduct?->variant['name'] ?? '' }}
{{ $orderProduct->quantity }} {{ $orderProduct->unit_price }} {{ $orderProduct->unit_price * $orderProduct->quantity }}
Subtotal {{ $subtotal }}
Discount {{ $order?->discount ?? 0 }}
Shipping {{ $order->shipping_charge ?? 0 }}
Total Amount {{ $order->currency }} {{ $order->total }}
@endif
@endsection