mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-07 06:31:22 +00:00
Lots of stuff for budgets, accounts and others!
This commit is contained in:
@@ -126,9 +126,6 @@ class EloquentLimitTrigger
|
||||
// remove and recreate limit repetitions.
|
||||
// if limit is not repeating, simply update the repetition to match the limit,
|
||||
// even though deleting everything is easier.
|
||||
foreach ($limit->limitrepetitions()->get() as $l) {
|
||||
$l->delete();
|
||||
}
|
||||
$limit->createRepetition($limit->startdate);
|
||||
|
||||
return true;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
namespace FireflyIII\Database;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use FireflyIII\Exception\NotImplementedException;
|
||||
use Illuminate\Support\MessageBag;
|
||||
use LaravelBook\Ardent\Ardent;
|
||||
use Illuminate\Support\Collection;
|
||||
@@ -74,7 +75,7 @@ class Budget implements CUD, CommonDatabaseCalls, BudgetInterface
|
||||
*/
|
||||
public function validate(array $model)
|
||||
{
|
||||
// TODO: Implement validate() method.
|
||||
throw new NotImplementedException;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user