@extends("admin.layouts.app") @section("title", __("admin.clients.billing_identity")) @section("content") {{-- The count first: while invoices are issued by hand, "whose details are missing" is the question this line answers at the start of the month. --}} @if($missingCount > 0)
{{ __('admin.clients.billing_missing_count', ['count' => $missingCount]) }}
@endif
@forelse($clients as $client) @php $gaps = $missing[$client->id] ?? []; @endphp @empty @endforelse
{{ __('admin.clients.name') }} {{ __('admin.clients.billing_type') }} {{ __('client.form.company_title') }} {{ __('admin.clients.billing_tax_office') }} {{ __('common.form.tax_id') }} {{ __('admin.clients.billing_national_id') }} {{ __('common.form.address') }} {{ __('common.form.phone') }} {{ __('admin.clients.billing_missing_column') }}
{{ $client->display_name }}
{{ $client->email }}
{{ $client->client_type ? __('admin.clients.billing_type_'.($client->client_type === 'company' ? 'company' : 'individual')) : '—' }} {{ $client->client_type === 'company' ? ($client->company_name ?: '—') : '—' }} {{ $client->client_type === 'company' ? ($client->tax_office ?: '—') : '—' }} {{ $client->client_type === 'company' ? ($client->tax_id ?: '—') : '—' }} {{ $client->client_type === 'individual' ? ($client->national_id ?: '—') : '—' }} {{ $client->address1 ?: '—' }}@if($client->city)
{{ $client->city }} / {{ $client->country }}
@endif
{{ $client->full_phone ?: '—' }} @if($gaps) {{ implode(', ', \App\Support\BillingIdentity::labels($gaps)) }} @else ✓ @endif
{{ __('common.empty.no_records') }}
@endsection