@extends('admin.layouts.app') @section('title', '#' . $client->id . ' - ' . $client->full_name) @section('content')
| {{ __('admin.clients.name') }} | {{ $client->full_name }} |
| {{ __('admin.clients.company') }} | {{ $client->company_name ?: '-' }} |
| {{ __('admin.clients.email') }} | {{ $client->email }} |
| {{ __('admin.clients.phone') }} | {{ $client->phone_number ?: '-' }} |
| {{ __('admin.clients.address') }} | {{ $client->address1 ?: '-' }}@if($client->city) {{ $client->city }}{{ $client->state ? ', '.$client->state : '' }} {{ $client->postcode }}@endif |
| {{ __('admin.clients.country') }} | {{ $client->country ?: '-' }} |
| {{ __('admin.clients.registered') }} | {{ $client->created_at->format('d M Y') }} |
| {{ __('admin.clients.paid_invoices') }} | {{ $paid }} |
| {{ __('admin.clients.unpaid_invoices') }} | {{ $unpaid }} |
| {{ __('admin.clients.overdue_invoices') }} | {{ $ovrd }} |
| {{ __('admin.clients.total_invoices') }} | {{ $invoiceCount }} |
| {{ __('admin.clients.credit_balance') }} | ${{ number_format($client->credit, 2) }} |
| {{ __('admin.clients.status') }} | {{ ucfirst($client->status->value) }} |
| {{ __('admin.clients.tax_exempt') }} | {{ $client->tax_exempt ? 'Yes' : 'No' }} |
| {{ __('admin.clients.created') }} | {{ $client->created_at->format('d M Y') }} |
| {{ __('admin.clients.last_login') }} | {{ $client->last_login?->diffForHumans() ?? __('admin.clients.never') }} |
{{ $note->note }}
{{ $note->created_at->format('d M Y H:i') }}{{ $note->sticky ? ' — ' . __('admin.clients.pinned') : '' }}{{ __('admin.clients.no_notes') }}
@endforelse| {{ __('common.table.product') }} | {{ __('common.table.domain') }} | {{ __('common.table.billing_cycle') }} | {{ __('common.table.amount') }} | {{ __('admin.clients.next_due') }} | {{ __('common.table.status') }} |
|---|---|---|---|---|---|
| {{ $service->product?->name ?? 'N/A' }} | {{ $service->domain ?? '-' }} | {{ $service->billing_cycle }} | ${{ number_format($service->amount, 2) }} | {{ $service->next_due_date?->format('d M Y') ?? '-' }} | {{ ucfirst($service->status) }} |
| {{ __('common.table.domain') }} | {{ __('common.table.registrar') }} | {{ __('admin.clients.registered') }} | {{ __('admin.domains.expiry_date') }} | {{ __('common.table.status') }} |
|---|---|---|---|---|
| {{ $domain->domain }} | {{ $domain->registrar ?? '-' }} | {{ $domain->registration_date?->format('d M Y') ?? '-' }} | {{ $domain->expiry_date?->format('d M Y') ?? '-' }} | {{ ucfirst($domain->status) }} |
| {{ __('common.table.invoice_num') }} | {{ __('common.table.date') }} | {{ __('common.table.due_date') }} | {{ __('common.table.total') }} | {{ __('common.table.status') }} |
|---|---|---|---|---|
| {{ $inv->invoice_num }} | {{ $inv->date?->format('d M Y') ?? '-' }} | {{ $inv->due_date?->format('d M Y') ?? '-' }} | ${{ number_format($inv->total, 2) }} | {{ ucfirst($inv->status) }} |
| {{ __('common.table.id') }} | {{ __('common.table.department') }} | {{ __('common.table.subject') }} | {{ __('common.table.priority') }} | {{ __('common.table.last_reply') }} | {{ __('common.table.status') }} |
|---|---|---|---|---|---|
| {{ $ticket->tid }} | {{ $ticket->department->name ?? '-' }} | {{ $ticket->title }} | {{ ucfirst($ticket->priority) }} | {{ $ticket->last_reply?->diffForHumans() ?? '-' }} | {{ ucfirst($ticket->status) }} |
{{ $note->note }}
{{ $note->created_at->format('d M Y H:i') }}{{ $note->sticky ? ' — ' . __('admin.clients.pinned') : '' }}{{ __('admin.clients.no_notes') }}
@endforelse @elseif($tab === 'log')| {{ __('common.table.date') }} | {{ __('admin.clients.admin') }} | {{ __('admin.clients.action') }} | {{ __('common.table.description') }} |
|---|---|---|---|
| {{ $log->created_at->format('d M Y H:i') }} | {{ $log->admin ?? '-' }} | {{ $log->action ?? '-' }} | {{ $log->description }} |