Add labels for various fields across HR resources to improve localization and user experience.
This commit is contained in:
1 parent
8147f23750
commit
e3ec83686c
52 files changed
+363
-26
No files matched your search
@@ -15,20 +15,27 @@ public static function configure(Schema $schema): Schema
|
||||
TextEntry::make('employee.id')
|
||||
->label(__('hr.fields.employee')),
|
||||
TextEntry::make('gift_date')
|
||||
->label(__('hr.fields.gift_date'))
|
||||
->date(),
|
||||
TextEntry::make('gift_name'),
|
||||
TextEntry::make('gift_name')
|
||||
->label(__('hr.fields.gift_name')),
|
||||
TextEntry::make('value')
|
||||
->label(__('hr.fields.value'))
|
||||
->numeric(),
|
||||
TextEntry::make('reason')
|
||||
->label(__('hr.fields.reason'))
|
||||
->placeholder('-')
|
||||
->columnSpanFull(),
|
||||
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 (Gift $record): bool => $record->trashed()),
|
||||
]);
|
||||
|
||||
Reference in new issue
Block a user