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

+7 -4
View File
@@ -13,10 +13,13 @@
class UpcomingLeaveWidget extends TableWidget
{
protected static ?string $heading = 'Upcoming Approved Leave (14 Days)';
protected int | string | array $columnSpan = 1;
public function getHeading(): ?string
{
return __('hr.widgets.upcoming_leave');
}
public function table(Table $table): Table
{
return $table
@@ -30,13 +33,13 @@ public function table(Table $table): Table
)
->columns([
TextColumn::make('employee.full_name')
->label('Employee'),
->label(__('hr.fields.employee')),
TextColumn::make('start_date')
->date(),
TextColumn::make('end_date')
->date(),
TextColumn::make('days')
->label('Days'),
->label(__('hr.fields.days')),
])
->paginated(false);
}