Fix amount thing.

This commit is contained in:
James Cole 2015-09-30 19:41:21 +02:00
parent f571a5f1bd
commit 05ddcc169d

View File

@ -93,6 +93,8 @@ class JsonController extends Controller
}
unset($bill, $bills);
$amount = $amount * -1; // make the amount positive again.
$creditCards = $accountRepository->getCreditCards(); // Find credit card accounts and possibly unpaid credit card bills.
/** @var Account $creditCard */
foreach ($creditCards as $creditCard) {