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

@@ -15,19 +15,26 @@ public static function configure(Schema $schema): Schema
TextEntry::make('employee.id')
->label(__('hr.fields.employee')),
TextEntry::make('explanation_date')
->label(__('hr.fields.explanation_date'))
->date(),
TextEntry::make('reason'),
TextEntry::make('reason')
->label(__('hr.fields.reason')),
TextEntry::make('description')
->label(__('hr.fields.description'))
->columnSpanFull(),
TextEntry::make('attachment_path')
->label(__('hr.fields.attachment'))
->placeholder('-'),
TextEntry::make('created_at')
->label(__('hr.fields.created_at'))
->dateTime()
->placeholder('-'),
TextEntry::make('updated_at')
->label(__('hr.fields.updated_at'))
->dateTime()
->placeholder('-'),
TextEntry::make('deleted_at')
->label(__('hr.fields.deleted_at'))
->dateTime()
->visible(fn (Explanation $record): bool => $record->trashed()),
]);