Fixes on unities, remove old code

This commit is contained in:
Ludovic CANDELLIER
2021-04-01 22:26:50 +02:00
parent a7881e4261
commit ce50d2da5e
26 changed files with 253 additions and 609 deletions

View File

@@ -19,7 +19,7 @@ class Package extends Model
return $this->hasMany('App\Models\Shop\Unity');
}
public function scopeByFamily($query, $id)
public function scopeByArticleFamily($query, $id)
{
return $query->where('article_family_id', $id);
}