mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Small bug fix.
This commit is contained in:
@@ -211,6 +211,16 @@ class RecurringTransaction implements CUD, CommonDatabaseCalls, RecurringTransac
|
||||
throw new NotImplementedException;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns all objects.
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function getActive()
|
||||
{
|
||||
return $this->getUser()->recurringtransactions()->where('active', 1)->get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \RecurringTransaction $recurring
|
||||
* @param Carbon $start
|
||||
|
Reference in New Issue
Block a user