wip ImportObjekteDirect
This commit is contained in:
1 parent
fe826c3bab
commit
5e1bb7ddcf
6 files changed
+45
-15
No files matched your search
@@ -138,6 +138,20 @@ class ProjekteForm
|
||||
->belowContent('Farbe von Rahmen und Rändern bei Tabellen und Boxen.'),
|
||||
])->columns(4)
|
||||
->columnSpanFull(),
|
||||
Tab::make('PDF')
|
||||
->icon('phosphor-file-pdf')
|
||||
->schema([
|
||||
Radio::make('pdf_nutzwerte_tabellen_umbruch')
|
||||
->label('PDF Nutzwertberechnung')
|
||||
->aboveContent('Bei Tabellen die nicht mehr komplett auf eine Seite passen.')
|
||||
->options([
|
||||
'0' => 'Tabellen zusammenhalten und eine neue Seite beginnen',
|
||||
'1' => 'Tabellen umbrechen',
|
||||
])->afterStateUpdated(function ($record, ?string $state) {
|
||||
Projekte::where('id', $record->id)->update(['pdf_nutzwerte_tabellen_umbruch' => $state]);
|
||||
})->live(),
|
||||
])->columns(2)
|
||||
->columnSpanFull(),
|
||||
]),
|
||||
|
||||
])->columnSpanFull(),
|
||||
|
||||
Reference in new issue
Block a user