Informações do Cliente Faturável
Status
@if($clientData['status'])
Ativo
@else
Desativado
@endif
Cliente Faturável
{{ $clientData['legal_name'] }}
Cliente Institucional
{{ $clientData['coreClient']->name ?? 'Não informado' }}
CPF/CNPJ
{{ $clientData['document_number'] }}
Vencimento Preferencial
{{ $clientData['preferential_due_date'] ? 'Dia ' . $clientData['preferential_due_date'] : 'Não Informado' }}
Vencimento apenas em dias úteis
@if($clientData['due_on_working_days_only'])
Ativo
@else
Desativado
@endif
@if($clientData['contacts']->isNotEmpty())
@foreach($clientData['contacts'] as $contact)
@if($contact['is_primary'])
Contato Principal
Nome: {{ $contact['name'] }}
Email: {{ $contact['email'] }}
@if(!empty($contact['phone']))
Telefone: {{ $contact['phone'] }}
@endif
@else
Contato Adicional
Nome: {{ $contact['name'] }}
Email: {{ $contact['email'] }}
@if(!empty($contact['phone']))
Telefone: {{ $contact['phone'] }}
@endif
@endif
@endforeach
@else
@endif
CEP
{{ $clientData['zipcode'] ?? 'Não informado' }}
Endereço
@php
$address = collect([
$clientData['street_type'],
$clientData['street_name'],
$clientData['number'] ? '- ' . $clientData['number'] : null,
$clientData['complement'] ? '- ' . $clientData['complement'] : null,
$clientData['neighborhood'] ? '- ' . $clientData['neighborhood'] : null,
$clientData['city'] ? '- ' . $clientData['city'] : null,
$clientData['state'] ? '- ' . $clientData['state'] : null
])->filter()->implode(' ');
@endphp
{{ $address ?: 'Não informado' }}