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

@@ -15,7 +15,7 @@ class ExportPdfAction
public static function employeeProfile(): Action
{
return Action::make('exportPdf')
->label('Export PDF')
->label(__('hr.actions.export_pdf'))
->icon('heroicon-o-document-arrow-down')
->action(fn (Employee $record, PdfExportService $pdf) => $pdf->employeeProfile($record));
}
@@ -23,7 +23,7 @@ class ExportPdfAction
public static function employeeLeaveSummary(): Action
{
return Action::make('exportLeavePdf')
->label('Leave Summary PDF')
->label(__('hr.actions.leave_summary_pdf'))
->icon('heroicon-o-document-text')
->action(fn (Employee $record, PdfExportService $pdf) => $pdf->leaveSummary($record));
}
@@ -31,7 +31,7 @@ class ExportPdfAction
public static function employeeList(): Action
{
return Action::make('exportPdf')
->label('Export PDF')
->label(__('hr.actions.export_pdf'))
->icon('heroicon-o-document-arrow-down')
->action(fn (PdfExportService $pdf) => $pdf->employeeList(
Employee::query()->with(['department', 'position', 'shift'])->orderBy('full_name')->get()
@@ -41,7 +41,7 @@ class ExportPdfAction
public static function employeeListBulk(): BulkAction
{
return BulkAction::make('exportPdf')
->label('Export PDF')
->label(__('hr.actions.export_pdf'))
->icon('heroicon-o-document-arrow-down')
->action(fn (Collection $records, PdfExportService $pdf) => $pdf->employeeList(
Employee::query()