@extends('layouts.app') @section('title', $customer->name) @section('content')

{{ $customer->name }}

{{ $customer->active ? 'Ativo' : 'Inativo' }}
Ficha básica carregada em modo de contingência
Voltar Editar cadastro @if(auth()->user()?->role === 'admin')
@csrf @method('DELETE')
@endif
A ficha completa encontrou uma inconsistência de dados ou migration.
Os dados principais continuam disponíveis. O erro técnico foi registrado no log para diagnóstico sem interromper seu atendimento.

Dados do cliente

Nome: {{ $customer->name }}
CPF: {{ $customer->cpf ?: 'Não informado' }}
Nascimento: {{ $customer->birth_date?->format('d/m/Y') ?: 'Não informado' }}
Telefone: {{ $customer->phone ?: 'Não informado' }}
WhatsApp: {{ $customer->whatsapp ?: 'Não informado' }}
E-mail: {{ $customer->email ?: 'Não informado' }}

@if($customer->notes)

Observações:
{{ $customer->notes }}

@endif

Endereço

CEP: {{ $customer->zip_code ?: 'Não informado' }}
Logradouro: {{ $customer->street ?: 'Não informado' }}
Número: {{ $customer->number ?: 'Não informado' }}
Complemento: {{ $customer->complement ?: '—' }}
Bairro: {{ $customer->district ?: 'Não informado' }}
Cidade/UF: {{ $customer->city ?: 'Não informado' }}{{ $customer->state ? '/'.$customer->state : '' }}

@if($customer->responsible_name ?? false)

Responsável

Nome: {{ $customer->responsible_name }}
Vínculo: {{ $customer->responsible_relationship ?: 'Não informado' }}
CPF: {{ $customer->responsible_cpf ?: 'Não informado' }}
Telefone: {{ $customer->responsible_phone ?: 'Não informado' }}

@endif @endsection