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;

View File

@@ -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;
}
/**