@extends('layouts.app') @section('title', $customer->name) @section('page-title', $customer->name) @section('page-actions')
Lista Modifica
@csrf @method('DELETE')
@endsection @section('content')
{{-- ─── Scheda principale ────────────────────────────────────────────── --}}
{{-- Avatar generato con iniziali --}}
{{ strtoupper(substr($customer->name, 0, 1)) }}

{{ $customer->name }}

{{ ucfirst($customer->status) }} {{ $customer->type_label }}
{{-- Contatti --}}
Contatto
Email
{{ $customer->email }}
@if($customer->phone)
Telefono
{{ $customer->phone }}
@endif @if($customer->city)
Città
{{ $customer->city }}
@endif @if($customer->address)
Indirizzo
{{ $customer->address }}
@endif
{{-- Dati fiscali --}}
Dati fiscali
@if($customer->vat_number)
P. IVA
{{ $customer->vat_number }}
@endif @if($customer->fiscal_code)
Cod. Fiscale
{{ $customer->fiscal_code }}
@endif
Contratto
{{ $appSettings['currency_symbol'] }}{{ number_format($customer->contract_value, 2, ',', '.') }}
{{-- Note --}} @if ($customer->notes)
Note

{{ $customer->notes }}

@endif
{{-- ─── Sidebar informazioni ─────────────────────────────────────────── --}}
Timeline
Creato il {{-- format() usa il formato da configurazione dinamica --}} {{ $customer->created_at->format($appSettings['date_format'] ?? 'd/m/Y') }}
Aggiornato il {{ $customer->updated_at->format($appSettings['date_format'] ?? 'd/m/Y') }}
ID sistema #{{ $customer->id }}
@endsection