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,7 +24,10 @@ class GiftsRelationManager extends RelationManager
{
protected static string $relationship = 'gifts';
protected static ?string $title = 'Gifts';
public static function getTitle(\Illuminate\Database\Eloquent\Model $ownerRecord, string $pageClass): string
{
return __("hr.relation_managers.gifts");
}
public function form(Schema $schema): Schema
{
@@ -34,7 +37,7 @@ public function form(Schema $schema): Schema
->required()
->default(now()),
TextInput::make('gift_name')
->label('Gift Name')
->label(__('hr.fields.gift_name'))
->required()
->maxLength(255),
TextInput::make('value')
@@ -59,7 +62,7 @@ public function table(Table $table): Table
->date()
->sortable(),
TextColumn::make('gift_name')
->label('Gift')
->label(__('hr.fields.gift'))
->searchable()
->sortable(),
TextColumn::make('value')