Enhance EmployeeForm by adding native date picker support for hire and termination dates, improving localization and user experience.

This commit is contained in:
Mekan1206
2026-08-02 21:21:36 +05:00
parent e16402b23f
commit 76416de568

View File

@@ -99,9 +99,13 @@ class EmployeeForm
->native(false),
DatePicker::make('hire_date')
->label(__('hr.fields.hire_date'))
->required(),
->required()
->native(false),
DatePicker::make('termination_date')
->label(__('hr.fields.termination_date')),
->label(__('hr.fields.termination_date'))
->native(false),
Textarea::make('notes')
->label(__('hr.fields.notes'))
->rows(4)