This commit is contained in:
James Cole 2019-09-20 16:16:15 +02:00
parent 3b66901481
commit 845ae94252
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -167,7 +167,7 @@ class IndexController extends Controller
$currency = $limit->transactionCurrency ?? $defaultCurrency;
$array['budgeted'][] = [
'id' => $limit->id,
'amount' => $limit->amount,
'amount' => round($limit->amount, $currency->decimal_places),
'currency_id' => $currency->id,
'currency_symbol' => $currency->symbol,
'currency_name' => $currency->name,