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

@@ -16,6 +16,7 @@ class GiftForm
->components([
HrForm::employeeSelect(),
DatePicker::make('gift_date')
->label(__('hr.fields.gift_date'))
->required()
->default(now()),
TextInput::make('gift_name')
@@ -23,6 +24,7 @@ class GiftForm
->required()
->maxLength(255),
TextInput::make('value')
->label(__('hr.fields.value'))
->required()
->numeric()
->prefix('TMT')
@@ -30,6 +32,7 @@ class GiftForm
->step(0.01)
->default(0),
Textarea::make('reason')
->label(__('hr.fields.reason'))
->rows(3)
->columnSpanFull(),
]);