Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix #9713
Sander Dorigo065d1652119d
diff --git a/app/Http/Controllers/Json/ReconcileController.php b/app/Http/Controllers/Json/ReconcileController.phpindex 7037e7428a..a32c27178b 100644--- a/app/Http/Controllers/Json/ReconcileController.php+++ b/app/Http/Controllers/Json/ReconcileController.php@@ -195,8 +195,8 @@ class ReconcileController extends Controller$startDate->subDay();$currency = $this->accountRepos->getAccountCurrency($account) ?? $this->defaultCurrency;- $startBalance = Steam::finalAccountBalance($account, $startDate)['balance'];- $endBalance = Steam::finalAccountBalance($account, $end)['balance'];+ $startBalance = Steam::bcround(Steam::finalAccountBalance($account, $startDate)['balance'], $currency->decimal_places);+ $endBalance = Steam::bcround(Steam::finalAccountBalance($account, $end)['balance'], $currency->decimal_places);// get the transactions$selectionStart = clone $start;