mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-10-03 12:16:43 -05:00
Code clean up [skip ci]
This commit is contained in:
1 parent
a07799cfa4
commit
f38984398d
60 files changed
+111
-152
No files matched your search
@@ -253,7 +253,7 @@ class PiggyBankController extends Controller
|
||||
*/
|
||||
public function postAdd(PiggyBankRepositoryInterface $repository, ARI $accounts, PiggyBank $piggyBank)
|
||||
{
|
||||
$amount = strval(round(Input::get('amount'), 2));
|
||||
$amount = strval(round(Input::get('amount'), 2));
|
||||
/** @var Carbon $date */
|
||||
$date = session('end', Carbon::now()->endOfMonth());
|
||||
$leftOnAccount = $accounts->leftOnAccount($piggyBank->account, $date);
|
||||
|
||||
Reference in new issue
Block a user