@include('filament.components.page-breadcrumbs', [ 'breadcrumbs' => [ ['label' => 'Condomini', 'url' => route('admin.dashboards.condomini')], ['label' => 'Tabelle millesimali', 'url' => \App\Filament\Pages\Condomini\TabelleMillesimaliArchivio::getUrl(panel: 'admin-filament')], ['label' => 'Prospetto'], ], 'backUrl' => $this->getBackUrl(), 'backLabel' => 'Torna indietro', ])
Tabelle millesimali · Prospetto
Seleziona una tabella a sinistra per vedere i dettagli (unità, millesimi, percentuali).
@if(!empty($tabelle) && count($tabelle) > 1)
Tabella
@endif
Elenco tabelle Stabile attivo @if(empty($tabelle))
Nessuna tabella millesimale.
@else @endif
Dettaglio Unità e millesimi @if(!$tabellaInfo)
Seleziona una tabella per vedere il dettaglio.
@else
@if(empty($righe)) @endif
{{ $tabellaInfo['codice'] }} — {{ $tabellaInfo['nome'] }}
@if(!empty($tabellaInfo['tipo'])) Tipo: {{ $tabellaInfo['tipo'] }} @endif @if(!empty($tabellaInfo['tipo']) && !empty($tabellaInfo['calcolo'])) · @endif @if(!empty($tabellaInfo['calcolo'])) Calcolo: {{ $tabellaInfo['calcolo'] }} @endif
@if(!empty($tabellaInfo['preventivo']) || !empty($tabellaInfo['consuntivo']))
@if(!empty($tabellaInfo['preventivo'])) Prev: {{ number_format((float) $tabellaInfo['preventivo'], 2, ',', '.') }} @endif @if(!empty($tabellaInfo['preventivo']) && !empty($tabellaInfo['consuntivo'])) · @endif @if(!empty($tabellaInfo['consuntivo'])) Cons: {{ number_format((float) $tabellaInfo['consuntivo'], 2, ',', '.') }} @endif
@endif
Totale (calcolato)
{{ number_format((float) ($tabellaInfo['totale'] ?? 0), 3, ',', '.') }}
@if(!empty($tabellaInfo['is_consumo']))
A consumo
@else
{{ ($tabellaInfo['is_bilanciata'] ?? false) ? 'Bilanciata (≈1000)' : 'Non bilanciata' }}
@endif
@if(empty($righe))
Nessun dettaglio millesimi.
@else
@foreach($righe as $r) @php $unitaUrl = \App\Filament\Pages\UnitaImmobiliarePage::getUrl(panel: 'admin-filament') . '?unita_id=' . (int) $r['unita_id'] . '&back=' . urlencode(request()->fullUrl()); @endphp @endforeach
Unità Posizione Partecipa Millesimi %
{{ $r['codice_unita'] ?? ('Unità #' . $r['unita_id']) }} @if(!empty($r['denominazione']))
{{ $r['denominazione'] }}
@endif
Pal. {{ $r['palazzina'] ?? '—' }} · Scala {{ $r['scala'] ?? '—' }} · Piano {{ $r['piano'] ?? '—' }} · Int. {{ $r['interno'] ?? '—' }} {{ number_format((float) $r['percentuale'], 2, ',', '.') }}%
@endif
@endif