diff --git a/src/Clusters/Product/Resources/BrandResource.php b/src/Clusters/Product/Resources/BrandResource.php index 2b484e5..8f0a703 100644 --- a/src/Clusters/Product/Resources/BrandResource.php +++ b/src/Clusters/Product/Resources/BrandResource.php @@ -50,6 +50,7 @@ public static function form(Form $form) : Form return $form ->schema([ SelectTree::make('parent_id') + ->label(__('red-jasmine-product::brand.fields.parent.name')) ->relationship( relationship: 'parent', titleAttribute: 'name', @@ -94,7 +95,7 @@ public static function table(Table $table) : Table return $table ->columns([ Tables\Columns\TextColumn::make('id'), - Tables\Columns\TextColumn::make('parent.name'), + Tables\Columns\TextColumn::make('parent.name')->label(__('red-jasmine-product::brand.fields.parent.name')), Tables\Columns\TextColumn::make('name') ->label(__('red-jasmine-product::brand.fields.name')) ->searchable(),