This commit is contained in:
James Cole
2020-02-01 06:32:28 +01:00
parent 28b7bd4d71
commit 7cdfbc48a9
2 changed files with 45 additions and 15 deletions

View File

@@ -119,9 +119,8 @@ class JavascriptController extends Controller
$currency = app('amount')->getDefaultCurrency();
}
$localeconv = localeconv();
$localeconv = app('amount')->getLocaleInfo();
$accounting = app('amount')->getJsConfig($localeconv);
$localeconv = localeconv();
$localeconv['frac_digits'] = $currency->decimal_places;
$pref = app('preferences')->get('language', config('firefly.default_language', 'en_US'));
/** @noinspection NullPointerExceptionInspection */