@extends('layouts.app') @section('content')
@include('layouts.user_menu')
Order Id: {{$order->order_id}}
No. Of Product {{count($order->order_details)}}
Total {{Helper::setPriceFormat($order->subtotal + $order->tax)}}
Discount {{Helper::setPriceFormat($order->discount)}}
Payment Details
Purchase Date {{$order->created_at}}
Account Id {{$order->transaction->account_id}}
TxHash {{$order->transaction->txhash}}
Payment Status @if($order->status == 'success') {{ucfirst($order->status)}} @else {{ucfirst($order->status)}} @endif
@forelse($order->order_details as $key => $order_detail)
{{$order_detail->product->name}} ({{$order_detail->product->category->name}})

Price : {{Helper::setPriceFormat($order_detail->price)}}

Quantity : {{$order_detail->quantity}}

  • Order Detail
  • @if($order->order_status == 'orderd')
  • Order Status : {{ucfirst($order->order_status)}}
  • @elseif($order->order_status == 'layered')
  • Order Status : {{ucfirst($order->order_status)}}
  • @elseif($order->order_status == 'ready')
  • Order Status : {{ucfirst($order->order_status)}}
  • @elseif($order->order_status == 'delivered' || $order->order_status == 'pickedup')
  • Order Status : {{ucfirst($order->order_status)}}
  • @elseif($order->order_status == 'cancel')
  • Order Status : {{ucfirst($order->order_status)}}
  • @endif
@empty
No Product Found
@endforelse
@endsection @push('js') @endpush