62 lines
3.9 KiB
PHP
Executable File
62 lines
3.9 KiB
PHP
Executable File
<x-filament-panels::page>
|
|
<div class="mx-auto max-w-7xl space-y-3">
|
|
{{-- BARRA PULSANTINI ICONICI COMPATTI UNIFICATA (SENZA SCROLL ORIZZONTALE) --}}
|
|
<div class="mb-2 flex flex-wrap items-center justify-between gap-2 rounded-xl border border-slate-200 bg-white/80 p-2 shadow-xs backdrop-blur-xs">
|
|
<div class="flex flex-wrap items-center gap-1.5">
|
|
<a href="{{ \App\Filament\Pages\Gescon\StabiliArchivio::getUrl(panel: 'admin-filament') }}"
|
|
class="inline-flex items-center gap-1.5 rounded-lg border border-slate-200 bg-slate-50 px-2.5 py-1.5 text-xs font-semibold text-slate-700 transition hover:bg-slate-100 hover:text-slate-900">
|
|
<span>🏢</span>
|
|
<span>Elenco Stabili</span>
|
|
</a>
|
|
<a href="{{ \App\Filament\Pages\Condomini\NominativiStabile::getUrl(panel: 'admin-filament') }}"
|
|
class="inline-flex items-center gap-1.5 rounded-lg border border-indigo-200 bg-indigo-50 px-2.5 py-1.5 text-xs font-semibold text-indigo-700 shadow-xs ring-2 ring-indigo-500/20">
|
|
<span>👥</span>
|
|
<span>Elenco Nominativi</span>
|
|
</a>
|
|
<a href="{{ \App\Filament\Pages\UnitaImmobiliarePage::getUrl(panel: 'admin-filament') }}"
|
|
class="inline-flex items-center gap-1.5 rounded-lg border border-slate-200 bg-slate-50 px-2.5 py-1.5 text-xs font-semibold text-slate-700 transition hover:bg-slate-100 hover:text-slate-900">
|
|
<span>🏠</span>
|
|
<span>Unità Immobiliare</span>
|
|
</a>
|
|
<a href="{{ \App\Filament\Pages\Condomini\TabelleMillesimaliArchivio::getUrl(panel: 'admin-filament') }}"
|
|
class="inline-flex items-center gap-1.5 rounded-lg border border-slate-200 bg-slate-50 px-2.5 py-1.5 text-xs font-semibold text-slate-700 transition hover:bg-slate-100 hover:text-slate-900">
|
|
<span>📐</span>
|
|
<span>Millesimi</span>
|
|
</a>
|
|
<a href="{{ \App\Filament\Pages\Condomini\CatastoHub::getUrl(panel: 'admin-filament') }}"
|
|
class="inline-flex items-center gap-1.5 rounded-lg border border-slate-200 bg-slate-50 px-2.5 py-1.5 text-xs font-semibold text-slate-700 transition hover:bg-slate-100 hover:text-slate-900">
|
|
<span>🏛️</span>
|
|
<span>Catasto</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
@php($stabili = $this->getStabiliOptions())
|
|
@if(!empty($stabili))
|
|
<div class="flex flex-wrap items-center justify-between gap-3 rounded-lg border bg-white px-3 py-2">
|
|
<div class="text-sm font-semibold text-gray-800">Nominativi</div>
|
|
<div class="flex items-center gap-4">
|
|
<!-- Toggle Cumulato -->
|
|
<label class="flex items-center gap-2 cursor-pointer select-none">
|
|
<input type="checkbox" wire:model.live="cumulato" class="rounded border-gray-300 text-primary-600 shadow-sm focus:ring-primary-500">
|
|
<span class="text-xs font-medium text-gray-700">Visualizzazione cumulata (unificata)</span>
|
|
</label>
|
|
|
|
<div class="flex items-center gap-2">
|
|
<div class="text-xs text-gray-600">Stabile</div>
|
|
<select wire:model.live="stabileId" class="fi-input fi-input-wrp fi-select-input text-xs">
|
|
@foreach($stabili as $id => $label)
|
|
<option value="{{ $id }}">{{ $label }}</option>
|
|
@endforeach
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
|
|
<div class="rounded-lg border bg-white overflow-hidden">
|
|
{{ $this->table }}
|
|
</div>
|
|
</div>
|
|
</x-filament-panels::page>
|