Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Aug 10, 2024
1 parent ce380c2 commit 28afb4a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions stubs/ProductResource.stub
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use Cone\Bazar\Models\Product;
use Cone\Root\Fields\BelongsToMany;
use Cone\Root\Fields\Editor;
use Cone\Root\Fields\ID;
use Cone\Root\Fields\MorphToMany;
use Cone\Root\Fields\Slug;
use Cone\Root\Fields\Text;
use Cone\Root\Resources\Resource;
Expand Down Expand Up @@ -76,6 +77,10 @@ class ProductResource extends Resource
->groupOptionsBy('property.name'),

Variants::make(),

MorphToMany::make(__('Tax Rates'), 'taxRates')
->display('name')
->hiddenOn(['index']),
];
}
}

0 comments on commit 28afb4a

Please sign in to comment.