31 lines
706 B
PHP
31 lines
706 B
PHP
<?php
|
|
|
|
namespace App\Filament\Pages;
|
|
|
|
use BackedEnum;
|
|
use Filament\Pages\Page;
|
|
use UnitEnum;
|
|
|
|
class InventoryCoverage extends Page
|
|
{
|
|
protected static string|BackedEnum|null $navigationIcon = 'heroicon-o-table-cells';
|
|
|
|
protected static string|UnitEnum|null $navigationGroup = 'Inventory';
|
|
|
|
protected static ?string $navigationLabel = 'Coverage';
|
|
|
|
protected string $view = 'filament.pages.inventory-coverage';
|
|
|
|
/**
|
|
* @var array<int, array<string, mixed>>
|
|
*/
|
|
public array $supportedTypes = [];
|
|
|
|
public function mount(): void
|
|
{
|
|
$types = config('tenantpilot.supported_policy_types', []);
|
|
|
|
$this->supportedTypes = is_array($types) ? $types : [];
|
|
}
|
|
}
|