apply not recurring and split scopes by default

This commit is contained in:
Denis Duliçi
2022-06-05 03:33:26 +03:00
parent 3ac8186d4a
commit 2cdeaad00d
10 changed files with 72 additions and 33 deletions

View File

@ -20,6 +20,8 @@ class Transaction implements Scope
*/
public function apply(Builder $builder, Model $model)
{
$this->applyTypeScope($builder, $model);
$this->applyNotRecurringScope($builder, $model);
$this->applyNotSplitScope($builder, $model);
}
}