feat(Password process for new admin, cleaning translations)
All checks were successful
Deploy Roxane to Preprod / deploy (push) Successful in 1m21s

This commit is contained in:
2026-04-01 15:50:21 +02:00
parent 83b7c42fe4
commit 25885e3b70
40 changed files with 1577 additions and 475 deletions

View File

@@ -22,6 +22,16 @@ class ServiceResource extends Resource
protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedPuzzlePiece;
public static function getModelLabel(): string
{
return Service::getAttributeLabel('service');
}
public static function getPluralModelLabel(): string
{
return Service::getAttributeLabel('services');
}
public static function form(Schema $schema): Schema
{
return ServiceForm::configure($schema);

View File

@@ -6,7 +6,6 @@ use App\Models\Service;
use Filament\Actions\BulkActionGroup;
use Filament\Actions\DeleteBulkAction;
use Filament\Actions\EditAction;
use Filament\Support\Icons\Heroicon;
use Filament\Tables\Columns\IconColumn;
use Filament\Tables\Columns\TextColumn;
use Filament\Tables\Table;
@@ -24,8 +23,8 @@ class ServicesTable
->label(Service::getAttributeLabel('identifier'))
->searchable(),
IconColumn::make('icon')
->label('Icône')
->icon(fn (Service $record) => 'heroicon-o-' . $record->icon),
->label(Service::getAttributeLabel('icon'))
->icon(fn (Service $record) => 'heroicon-o-'.$record->icon),
TextColumn::make('created_at')
->dateTime()
->sortable()