@extends('front.main') @push('style') @endpush @section('content')

My Orders

@foreach($orders as $order)
Order {{ $order->payment_reference }}
Date: {{$order->created_at->format('D - d F, Y') }}
@foreach($order->orderDetails as $item)
Diamond
{{ $item->product->name }}
${{ number_format($item->productDetails->price) }}
Qty: {{ $item->quantity }}
@endforeach
Status: {{ $order->order_status }}
Total: ${{ number_format($order->payment->amount) }}
@endforeach
@endsection