This commit is contained in:
f4ilji
2024-11-18 01:37:28 +05:00
parent af69b48247
commit 4b103325f7
12 changed files with 165 additions and 15 deletions
@@ -22,6 +22,9 @@ class WorkersRelationManager extends RelationManager
return $form
->schema([
Forms\Components\TextInput::make('administrativePosition')->label('Должность')->required(),
Forms\Components\TextInput::make('service_email')->label('Служебная почта'),
Forms\Components\TextInput::make('service_phone')->label('Служебный телефон'),
Forms\Components\TextInput::make('cabinet')->label('Кабинет'),
]);
}
@@ -45,6 +48,9 @@ class WorkersRelationManager extends RelationManager
->form(fn (AttachAction $action): array => [
$action->getRecordSelect(),
Forms\Components\TextInput::make('administrativePosition')->label('Должность')->required(),
Forms\Components\TextInput::make('service_email')->label('Служебная почта'),
Forms\Components\TextInput::make('service_phone')->label('Служебный телефон'),
Forms\Components\TextInput::make('cabinet')->label('Кабинет'),
])
])
->actions([