Lots of stuff for budgets, accounts and others!

This commit is contained in:
Sander Dorigo
2014-11-05 19:57:56 +01:00
parent aaab7f8e0e
commit 21f362c7b9
11 changed files with 151 additions and 66 deletions

View File

@@ -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;