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

@@ -4,6 +4,7 @@ declare(strict_types=1);
namespace App\Filament\Resources\Gifts;
use App\Enums\NavigationGroup;
use App\Filament\Resources\Gifts\Pages\CreateGift;
use App\Filament\Resources\Gifts\Pages\EditGift;
use App\Filament\Resources\Gifts\Pages\ListGifts;
@@ -27,7 +28,7 @@ class GiftResource extends Resource
protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedGift;
protected static string | UnitEnum | null $navigationGroup = 'Records';
protected static string|UnitEnum|null $navigationGroup = NavigationGroup::Records;
protected static ?int $navigationSort = 4;

View File

@@ -19,7 +19,7 @@ class GiftForm
->required()
->default(now()),
TextInput::make('gift_name')
->label('Gift Name')
->label(__('hr.fields.gift_name'))
->required()
->maxLength(255),
TextInput::make('value')

View File

@@ -13,7 +13,7 @@ class GiftInfolist
return $schema
->components([
TextEntry::make('employee.id')
->label('Employee'),
->label(__('hr.fields.employee')),
TextEntry::make('gift_date')
->date(),
TextEntry::make('gift_name'),

View File

@@ -19,14 +19,14 @@ class GiftsTable
return $table
->columns([
TextColumn::make('employee.full_name')
->label('Employee')
->label(__('hr.fields.employee'))
->searchable()
->sortable(),
TextColumn::make('gift_date')
->date()
->sortable(),
TextColumn::make('gift_name')
->label('Gift')
->label(__('hr.fields.gift'))
->searchable()
->sortable(),
TextColumn::make('value')