35 lines
831 B
PHP
Executable File
35 lines
831 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Filament\Pages\Gescon;
|
|
|
|
use BackedEnum;
|
|
use UnitEnum;
|
|
|
|
class Riscaldamento extends Ordinarie
|
|
{
|
|
protected static ?string $navigationLabel = 'Riscaldamento';
|
|
|
|
protected static ?string $title = 'Riscaldamento';
|
|
|
|
protected static BackedEnum|string|null $navigationIcon = 'heroicon-o-fire';
|
|
|
|
protected static UnitEnum|string|null $navigationGroup = 'GESCON';
|
|
|
|
protected static ?int $navigationSort = 30;
|
|
|
|
protected static ?string $slug = 'gescon/riscaldamento';
|
|
|
|
public string $sectionKey = 'riscaldamento';
|
|
|
|
public bool $onlyRiscaldamentoMode = true;
|
|
|
|
public function mount(): void
|
|
{
|
|
parent::mount();
|
|
|
|
if (! in_array($this->viewTab, ['operazioni', 'consuntivo', 'preventivo', 'riparto'], true)) {
|
|
$this->viewTab = 'operazioni';
|
|
}
|
|
}
|
|
}
|