moved company scope to trait
This commit is contained in:
@ -13,8 +13,6 @@ class Invoice extends Document
|
||||
{
|
||||
protected static function booted()
|
||||
{
|
||||
parent::booted();
|
||||
|
||||
static::addGlobalScope(new ReplaceDeprecatedColumns);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user