Fix on AdminLTE 3, and add some features
This commit is contained in:
@@ -13,9 +13,9 @@ class ArticlePrice extends Model
|
||||
return $this->belongsTo('App\Models\Shop\Article');
|
||||
}
|
||||
|
||||
public function ArticleAttribute()
|
||||
public function ArticleAttributes()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Shop\ArticleAttribute');
|
||||
return $this->hasMany('App\Models\Shop\ArticleAttribute');
|
||||
}
|
||||
|
||||
public function scopeByArticle($query, $id)
|
||||
|
||||
Reference in New Issue
Block a user