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

@@ -4,6 +4,7 @@
namespace App\Filament\Resources\DisciplinaryReports;
use App\Enums\NavigationGroup;
use App\Filament\Resources\DisciplinaryReports\Pages\CreateDisciplinaryReport;
use App\Filament\Resources\DisciplinaryReports\Pages\EditDisciplinaryReport;
use App\Filament\Resources\DisciplinaryReports\Pages\ListDisciplinaryReports;
@@ -27,7 +28,7 @@ class DisciplinaryReportResource extends Resource
protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedExclamationTriangle;
protected static string | UnitEnum | null $navigationGroup = 'Records';
protected static string|UnitEnum|null $navigationGroup = NavigationGroup::Records;
protected static ?int $navigationSort = 1;
@@ -32,7 +32,7 @@ public static function configure(Schema $schema): Schema
->required()
->native(false),
HrForm::fileUpload('attachment_path')
->label('Attachment')
->label(__('hr.fields.attachment'))
->acceptedFileTypes(['application/pdf', 'image/*'])
->maxSize(10240),
]);
@@ -13,7 +13,7 @@ public static function configure(Schema $schema): Schema
return $schema
->components([
TextEntry::make('employee.id')
->label('Employee'),
->label(__('hr.fields.employee')),
TextEntry::make('report_date')
->date(),
TextEntry::make('title'),
@@ -23,7 +23,7 @@ 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('report_date')
@@ -39,12 +39,12 @@ public static function configure(Table $table): Table
->searchable()
->sortable(),
IconColumn::make('attachment_path')
->label('Attachment')
->label(__('hr.fields.attachment'))
->boolean()
->trueIcon('heroicon-o-paper-clip')
->falseIcon('heroicon-o-minus'),
TextColumn::make('creator.name')
->label('Created By')
->label(__('hr.fields.created_by'))
->sortable()
->toggleable(),
TextColumn::make('created_at')