Add labels for various fields across HR resources to improve localization and user experience.

This commit is contained in:
Mekan1206 committed 2026-08-02 20:10:48 +05:00
1 parent 8147f23750
commit e3ec83686c
52 files changed
+363 -26

No files matched your search

@@ -18,16 +18,20 @@ public static function configure(Schema $schema): Schema
->components([
HrForm::employeeSelect(),
DatePicker::make('report_date')
->label(__('hr.fields.report_date'))
->required()
->default(now()),
TextInput::make('title')
->label(__('hr.fields.title'))
->required()
->maxLength(255),
Textarea::make('description')
->label(__('hr.fields.description'))
->required()
->rows(4)
->columnSpanFull(),
Select::make('severity')
->label(__('hr.fields.severity'))
->options(DisciplinarySeverity::class)
->required()
->native(false),