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

@@ -24,12 +24,15 @@ class ExplanationsTable
->searchable()
->sortable(),
TextColumn::make('explanation_date')
->label(__('hr.fields.explanation_date'))
->date()
->sortable(),
TextColumn::make('reason')
->label(__('hr.fields.reason'))
->searchable()
->limit(40),
TextColumn::make('description')
->label(__('hr.fields.description'))
->limit(50)
->toggleable(),
IconColumn::make('attachment_path')
@@ -38,14 +41,17 @@ class ExplanationsTable
->trueIcon('heroicon-o-paper-clip')
->falseIcon('heroicon-o-minus'),
TextColumn::make('created_at')
->label(__('hr.fields.created_at'))
->dateTime()
->sortable()
->toggleable(isToggledHiddenByDefault: true),
TextColumn::make('updated_at')
->label(__('hr.fields.updated_at'))
->dateTime()
->sortable()
->toggleable(isToggledHiddenByDefault: true),
TextColumn::make('deleted_at')
->label(__('hr.fields.deleted_at'))
->dateTime()
->sortable()
->toggleable(isToggledHiddenByDefault: true),