@extends('admin.layouts.app') @section('title', '#' . $client->id . ' - ' . $client->full_name) @section('content')
| {{ __('admin.clients.name') }} | {{ $client->full_name }} |
| {{ __('admin.clients.billing_type') }} | {{ $identityType ? __('admin.clients.billing_type_'.($identityType === 'company' ? 'company' : 'individual')) : '-' }} |
| {{ __('admin.clients.company') }} | {{ $client->company_name ?: '-' }} |
| {{ __('admin.clients.billing_tax_office') }} | {{ $client->tax_office ?: '-' }} |
| {{ __('common.form.tax_id') }} | {{ $client->tax_id ?: '-' }} |
| {{ __('admin.clients.billing_national_id') }} | {{ $client->national_id ?: '-' }} |
| {{ __('admin.clients.email') }} | {{ $client->email }} |
| {{ __('common.form.billing_email') }} | @if($client->billing_email){{ $client->billing_email }}@else - @endif |
| {{ __('admin.clients.phone') }} | {{ $client->full_phone ?: '-' }} |
| {{ __('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(date_fmt()) }} |
| {{ $field->field_name }} | {{ $field->values->first()?->value ?: '-' }} |
| {{ __('admin.clients.paid_invoices') }} | {{ $paid }} |
| {{ __('admin.clients.unpaid_invoices') }} | {{ $unpaid }} |
| {{ __('admin.clients.overdue_invoices') }} | {{ $ovrd }} |
| {{ __('admin.clients.total_invoices') }} | {{ $invoiceCount }} |
| {{ __('admin.clients.credit_balance') }} | {{ money_fmt($client->credit) }} |
| {{ __('admin.clients.status') }} | {{ ucfirst($client->status->value) }} |
| {{ __('admin.clients.tax_exempt') }} | {{ $client->tax_exempt ? 'Yes' : 'No' }} |
| {{ __('admin.clients.created') }} | {{ $client->created_at->format(date_fmt()) }} |
| {{ __('admin.clients.marketing_consent') }} | @if($consent?->email_opt_in){{ __('admin.clients.marketing_yes', ['date' => $consent->consented_at?->format(date_fmt()) ?? '-', 'source' => $consent->source]) }}@elseif($consent){{ __('admin.clients.marketing_withdrawn', ['date' => $consent->withdrawn_at?->format(date_fmt()) ?? '-']) }}@else{{ __('admin.clients.marketing_no') }}@endif |
| {{ __('admin.clients.last_login') }} | {{ $client->users->max('last_login')?->diffForHumans() ?? __('admin.clients.never') }} |
{{ $note->note }}
{{ $note->created_at->timezone(display_tz())->format(datetime_fmt()) }}{{ $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 }} | {{ money_fmt($service->amount) }} | {{ $service->next_due_date?->format(date_fmt()) ?? '-' }} | {{ ucfirst($service->status) }} |
| {{ __('common.table.domain') }} | {{ __('common.table.registrar') }} | {{ __('admin.clients.registered') }} | {{ __('admin.domains.expiry_date') }} | {{ __('common.table.status') }} | {{ __('common.table.actions') }} |
|---|---|---|---|---|---|
| {{ $domain->domain }} | {{ $domain->registrar ?? '-' }} | {{ $domain->registration_date?->format(date_fmt()) ?? '-' }} | {{ $domain->expiry_date?->format(date_fmt()) ?? '-' }} | {{ ucfirst($domain->status) }} | {{ __('common.actions.view') }} |
| {{ __('common.table.invoice_num') }} | {{ __('common.table.date') }} | {{ __('common.table.due_date') }} | {{ __('common.table.total') }} | {{ __('common.table.status') }} |
|---|---|---|---|---|
| {{ $inv->invoice_num }} | {{ $inv->date?->format(date_fmt()) ?? '-' }} | {{ $inv->due_date?->format(date_fmt()) ?? '-' }} | {{ money_fmt($inv->total) }} | {{ invoice_status_label($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) }} |
{{ __('admin.clients.no_notes') }}
@endforelse @elseif($tab === 'log')| {{ __('common.table.date') }} | {{ __('admin.clients.admin') }} | {{ __('admin.clients.action') }} | {{ __('common.table.description') }} |
|---|---|---|---|
| {{ $log->created_at->timezone(display_tz())->format(datetime_fmt()) }} | {{ $log->admin ?? '-' }} | {{ $log->action ?? '-' }} | {{ $log->description }} |