@extends('layouts.app') @section('content')

Order #{{$order_query->reference}}

  • Cart Totals
  • Price
  • Subtotal: ₱{{number_format($order_query->amount,2)}}
  • @if($order_query == 'DELIVERY')
  • Shipping: ₱100.00
  • @endif {{--
  • Tax (GST): ₱5.00
  • --}}
  • Total price: ₱{{number_format($order_query->amount,2)}}
@if($order_query == 'DELIVERY')
  • Shipping Address
@endif
Summary
Order ID
{{$order_query->reference}}
{{--@if(!empty($order_query->shipment->courier))
Courier
{{$order_query->shipment->courier->name}}
@endif--}}
Date
{{date('d M Y',strtotime($order_query->created_at))}}
Total
₱{{number_format($order_query->amount,2)}}
Status
{{$order_query->status}}
@if($order_query->status == 'OUT FOR DELIVERY')
Cancel Shipment
Cancel Shipment
@endif @if($order_query->status == 'READY FOR PICKUP')
Cancel Pickup
Cancel Pickup
@endif
@csrf @honeypot
Payment Method
{{$order_query->shop_payment_methods_name}}

Payment Status

@if($order_query->shipping_method != "PICKUP")
@csrf
Courier

Branch

Save Changes
@switch($order_query->status) @case('PROCESSING')
Shipment
Process Order For Shipment
Process
@break @case('OUT FOR DELIVERY')
Estimated Delivery Date
{{!empty($order_query->shipment->estimated_delivery_date) ? date('d M Y',strtotime($order_query->shipment->estimated_delivery_date)) : 'N/A'}}
Track order Update Tracking
@break @endswitch @else @switch($order_query->status) @case('PROCESSING')
Pickup
Process Order For Pickup
Process
@break @case('READY FOR PICKUP')
Pickup
Order Ready for Pickup
Confirm Pickup
@break @endswitch @endif
@endsection @section('page_script') @parent @endsection