standards wip
This commit is contained in:
1 parent
4f865b52a6
commit
7eaa8c0da2
32 files changed
+326
-98
No files matched your search
@@ -29,6 +29,8 @@ class InhaltsverzeichnisResource extends Resource
|
||||
|
||||
protected static ?string $pluralModelLabel = 'Inhaltsverzeichnis';
|
||||
|
||||
protected static ?int $navigationSort = 1;
|
||||
|
||||
public static function form(Schema $schema): Schema
|
||||
{
|
||||
return InhaltsverzeichnisForm::configure($schema);
|
||||
|
||||
@@ -12,7 +12,7 @@ class InhaltsverzeichnisForm
|
||||
return $schema
|
||||
->components([
|
||||
TextInput::make('ordnungszahl'),
|
||||
TextInput::make('text'),
|
||||
TextInput::make('name'),
|
||||
])->columns(1);
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,8 @@ class InhaltsverzeichnisTable
|
||||
// TextColumn::make('sort'),
|
||||
TextColumn::make('ordnungszahl')
|
||||
->getStateUsing(fn ($record): string => $record->ordnungszahl == '0' ? '' : number_format($record->ordnungszahl, 2)),
|
||||
TextColumn::make('text'),
|
||||
TextColumn::make('name')
|
||||
->description(fn ($record): string => $record->textblock_kennung->name ?? ''),
|
||||
TextColumn::make('seite')
|
||||
->alignCenter()
|
||||
->badge()
|
||||
|
||||
Reference in new issue
Block a user