@extends('client.layouts.main') @section('title', 'Order Details') @section('content')
{{ $order->order_number }}
{{ $order->created_at->format('M d, Y H:i') }}
@php $statusColors = [ 'pending' => 'warning', 'active' => 'success', 'completed' => 'success', 'cancelled' => 'default', 'fraud' => 'danger', ]; $color = $statusColors[$order->status] ?? 'info'; @endphp {{ ucfirst($order->status) }}
{{ $order->currency_code }}
{{ number_format($order->total, 2) }}
| Description | Domain | Qty | Unit Price | Setup Fee | Total | Status |
|---|---|---|---|---|---|---|
| {{ $item->description }} | {{ $item->domain ?? '-' }} | {{ $item->quantity }} | {{ number_format($item->unit_price, 2) }} | {{ number_format($item->setup_fee, 2) }} | {{ number_format($item->total, 2) }} | {{ ucfirst($item->status) }} |
| Invoice # | Total | Status | Due Date | Actions |
|---|---|---|---|---|
| {{ $invoice->invoice_number }} | {{ number_format($invoice->total, 2) }} | @php $invColors = [ 'paid' => 'success', 'unpaid' => 'warning', 'overdue' => 'danger', 'cancelled' => 'default', ]; @endphp {{ ucfirst($invoice->status) }} | {{ $invoice->due_date->format('M d, Y') }} | View |
| No invoices for this order. | ||||