35 lines
820 B
PHP
35 lines
820 B
PHP
<?php
|
|
|
|
namespace App\Filament\Pages\Gescon;
|
|
|
|
use BackedEnum;
|
|
use UnitEnum;
|
|
|
|
class Straordinarie extends Ordinarie
|
|
{
|
|
protected static ?string $navigationLabel = 'Straordinarie';
|
|
|
|
protected static ?string $title = 'Straordinarie';
|
|
|
|
protected static BackedEnum|string|null $navigationIcon = 'heroicon-o-wrench-screwdriver';
|
|
|
|
protected static UnitEnum|string|null $navigationGroup = 'GESCON';
|
|
|
|
protected static ?int $navigationSort = 40;
|
|
|
|
protected static ?string $slug = 'gescon/straordinarie';
|
|
|
|
public string $sectionKey = 'straordinarie';
|
|
|
|
public bool $onlyStraordinarieMode = true;
|
|
|
|
public function mount(): void
|
|
{
|
|
parent::mount();
|
|
|
|
if (! in_array($this->viewTab, ['operazioni', 'consuntivo'], true)) {
|
|
$this->viewTab = 'operazioni';
|
|
}
|
|
}
|
|
}
|