translate base

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

No files matched your search

@@ -24,11 +24,11 @@ public static function configure(Table $table): Table
return $table
->columns([
TextColumn::make('employee.full_name')
->label('Employee')
->label(__('hr.fields.employee'))
->searchable()
->sortable(),
TextColumn::make('document_type')
->label('Type')
->label(__('hr.fields.type'))
->badge()
->color(fn (DocumentType $state): string => $state->color())
->formatStateUsing(fn (DocumentType $state): string => $state->label())
@@ -56,13 +56,13 @@ public static function configure(Table $table): Table
])
->filters([
SelectFilter::make('document_type')
->label('Type')
->label(__('hr.fields.type'))
->options(DocumentType::class),
TrashedFilter::make(),
])
->recordActions([
Action::make('download')
->label('Download')
->label(__('hr.actions.download'))
->icon('heroicon-o-arrow-down-tray')
->visible(fn (EmployeeDocument $record): bool => filled($record->file_path))
->action(function (EmployeeDocument $record) {