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

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

View File

@@ -15,9 +15,11 @@ class ShiftForm
return $schema
->components([
TextInput::make('name')
->label(__('hr.fields.name'))
->required()
->maxLength(255),
TextInput::make('code')
->label(__('hr.fields.code'))
->required()
->maxLength(50)
->unique(ignoreRecord: true),
@@ -30,6 +32,7 @@ class ShiftForm
->required()
->seconds(false),
Textarea::make('description')
->label(__('hr.fields.description'))
->rows(3)
->columnSpanFull(),
Toggle::make('is_active')