mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-15 19:22:08 -06:00
Update reminder in database.
This commit is contained in:
parent
fa07811375
commit
389fcc1c8d
@ -14,7 +14,6 @@ use FireflyIII\Repositories\Account\AccountRepositoryInterface;
|
|||||||
use FireflyIII\Repositories\PiggyBank\PiggyBankRepositoryInterface;
|
use FireflyIII\Repositories\PiggyBank\PiggyBankRepositoryInterface;
|
||||||
use Illuminate\Support\Collection;
|
use Illuminate\Support\Collection;
|
||||||
use Input;
|
use Input;
|
||||||
use Navigation;
|
|
||||||
use Redirect;
|
use Redirect;
|
||||||
use Session;
|
use Session;
|
||||||
use Steam;
|
use Steam;
|
||||||
@ -335,6 +334,7 @@ class PiggyBankController extends Controller
|
|||||||
'targetamount' => floatval($request->get('targetamount')),
|
'targetamount' => floatval($request->get('targetamount')),
|
||||||
'targetdate' => strlen($request->get('targetdate')) > 0 ? new Carbon($request->get('targetdate')) : null,
|
'targetdate' => strlen($request->get('targetdate')) > 0 ? new Carbon($request->get('targetdate')) : null,
|
||||||
'reminder' => $request->get('reminder'),
|
'reminder' => $request->get('reminder'),
|
||||||
|
'remind_me' => $request->get('remind_me')
|
||||||
];
|
];
|
||||||
|
|
||||||
$piggyBank = $repository->update($piggyBank, $piggyBankData);
|
$piggyBank = $repository->update($piggyBank, $piggyBankData);
|
||||||
|
Loading…
Reference in New Issue
Block a user