translate base

This commit is contained in:
Mekan1206
2026-07-31 18:08:08 +05:00
parent a794dacd39
commit 581cb8241c
413 changed files with 9087 additions and 428 deletions

View File

@@ -22,14 +22,14 @@ class BonusesTable
return $table
->columns([
TextColumn::make('employee.full_name')
->label('Employee')
->label(__('hr.fields.employee'))
->searchable()
->sortable(),
TextColumn::make('bonus_date')
->date()
->sortable(),
TextColumn::make('bonus_type')
->label('Type')
->label(__('hr.fields.type'))
->badge()
->color(fn (BonusType $state): string => $state->color())
->formatStateUsing(fn (BonusType $state): string => $state->label())
@@ -56,7 +56,7 @@ class BonusesTable
])
->filters([
SelectFilter::make('bonus_type')
->label('Type')
->label(__('hr.fields.type'))
->options(BonusType::class),
TrashedFilter::make(),
])