From 681bfe4c69478bd0f29526c747b1018bf2f37fb4 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 8 Jan 2017 09:20:17 +0200 Subject: [PATCH] Fix currency sample --- resources/views/accounts/localization.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/accounts/localization.blade.php b/resources/views/accounts/localization.blade.php index 1d196bdec8c1..98ca4b8f405d 100644 --- a/resources/views/accounts/localization.blade.php +++ b/resources/views/accounts/localization.blade.php @@ -83,8 +83,8 @@ if ( ! currency || ! currency.symbol) { $('.currrency_radio').hide(); } else { - symbolExample = formatMoney(100, currencyId, {{ Auth::user()->account->country_id }}, '{{ CURRENCY_DECORATOR_SYMBOL }}'); - codeExample = formatMoney(100, currencyId, {{ Auth::user()->account->country_id }}, '{{ CURRENCY_DECORATOR_CODE }}'); + symbolExample = formatMoney(1000, currencyId, {{ Auth::user()->account->country_id ?: DEFAULT_COUNTRY }}, '{{ CURRENCY_DECORATOR_SYMBOL }}'); + codeExample = formatMoney(1000, currencyId, {{ Auth::user()->account->country_id ?: DEFAULT_COUNTRY }}, '{{ CURRENCY_DECORATOR_CODE }}'); $('.currrency_radio').show(); }