diff --git a/Entities/Product.php b/Entities/Product.php index 3489fa9..4a0b904 100755 --- a/Entities/Product.php +++ b/Entities/Product.php @@ -51,7 +51,7 @@ public function fields(Blueprint $table = null): void $this->fields->integer('description')->nullable()->html('editor'); $this->fields->integer('category_id')->nullable()->html('recordselect')->relation(['product', 'category']); $this->fields->integer('type_id')->nullable()->html('recordselect')->relation(['product', 'type']); - $this->fields->integer('vendor')->nullable()->html('recordselect')->relation(['product', 'vendor']); + $this->fields->integer('vendor')->nullable()->html('recordselect')->relation(['partner']); $this->fields->integer('image')->nullable()->html('image'); $this->fields->integer('gallery')->nullable()->html('gallery'); $this->fields->integer('tags')->nullable()->html('tags');