@extends('admin.layouts.main') @section('title','Dashboard') @section('content')
| Order # | Client | Total | Status |
|---|---|---|---|
| {{ $order->order_number }} | {{ $order->user->first_name ?? '' }} {{ $order->user->last_name ?? '' }} | ৳{{ number_format($order->total, 2) }} | {{ ucfirst($order->status) }} |
| No recent orders | |||
| Invoice # | Client | Total | Status | Due |
|---|---|---|---|---|
| {{ $invoice->invoice_number }} | {{ $invoice->user->first_name ?? '' }} {{ $invoice->user->last_name ?? '' }} | ৳{{ number_format($invoice->total, 2) }} | {{ ucfirst($invoice->status) }} | {{ $invoice->due_date?->format('M d') }} |
| All invoices are paid | ||||
| Ticket | Client | Subject | Priority | Status |
|---|---|---|---|---|
| {{ $ticket->ticket_number }} | {{ $ticket->user->first_name ?? '' }} | {{ Str::limit($ticket->subject, 25) }} | {{ ucfirst($ticket->priority) }} | {{ ucwords(str_replace('_', ' ', $ticket->status)) }} |
| No open tickets | ||||
| Domain | Client | Expiry | Days Left |
|---|---|---|---|
| {{ $domain->domain_name }} | {{ $domain->user->first_name ?? '' }} {{ $domain->user->last_name ?? '' }} | {{ $domain->expiry_date->format('M d, Y') }} | @php $daysLeft = now()->diffInDays($domain->expiry_date, false); @endphp {{ $daysLeft > 0 ? $daysLeft . ' days' : 'Expired' }} |
| No domains expiring soon | |||