Fixes after reading excel files and discuss with eric
This commit is contained in:
@@ -24,6 +24,6 @@ class Variety extends Model implements HasMedia
|
||||
|
||||
public function Articles()
|
||||
{
|
||||
return $this->hasMany('App\Models\Shop\Article','model_id','id');
|
||||
return $this->morphMany('App\Models\Shop\Article','product');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user