@extends('layouts.app') @section('title', 'My Orders') @section('content')
Total Pending Payments
₦{{ number_format($pendingPaymentTotal, 0) }}
No orders yet.
Browse Products{{ $order->created_at->format('M d, Y') }}
{{ $item->product->name }}
{{ $item->quantity }} x ₦{{ number_format($item->unit_price, 2) }}
₦{{ number_format($item->total, 2) }}
Subtotal: ₦{{ number_format($order->subtotal, 2) }}
Shipping: ₦{{ number_format($order->shipping_cost, 2) }}
Total: ₦{{ number_format($order->total, 2) }}
@if(in_array($order->payment_status, ['pending', 'partial']))Balance: ₦{{ number_format($order->total - $order->paid_amount, 2) }}
@endif