fix(purchases): actually apply CreateAction override
Previous commit added the translation entries but the Edit call
failed silently (file-not-read guard). Now the CreateAction has
->label(__('Adaugă articol')) + ->modalHeading(__('Adaugă articol
în comandă')) so RU/EN see translated modal.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
+3
-1
@@ -71,7 +71,9 @@ class ItemsRelationManager extends RelationManager
|
|||||||
Tables\Columns\TextColumn::make('total')->money('MDL')->alignRight(),
|
Tables\Columns\TextColumn::make('total')->money('MDL')->alignRight(),
|
||||||
])
|
])
|
||||||
->headerActions([
|
->headerActions([
|
||||||
Actions\CreateAction::make(),
|
Actions\CreateAction::make()
|
||||||
|
->label(__('Adaugă articol'))
|
||||||
|
->modalHeading(__('Adaugă articol în comandă')),
|
||||||
])
|
])
|
||||||
->actions([
|
->actions([
|
||||||
Actions\Action::make('receive_item')
|
Actions\Action::make('receive_item')
|
||||||
|
|||||||
Reference in New Issue
Block a user