admin menu filter and seller

This commit is contained in:
merdan 2022-09-27 14:45:55 +05:00
parent 6d3e9bf0ed
commit bd3e0d5b4d
1 changed files with 1 additions and 1 deletions

View File

@ -45,6 +45,6 @@ class Menu extends TranslatableModel implements MenuContract
public function sellers():BelongsToMany
{
return $this->belongsToMany(VendorProxy::modelClass(),'seller_menus','seller_id');
return $this->belongsToMany(VendorProxy::modelClass(),'seller_menus','menu_id','seller_id');
}
}