Fix currency sample

This commit is contained in:
Hillel Coren 2017-01-08 09:20:17 +02:00
parent 8b24ebb875
commit 681bfe4c69

View File

@ -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();
}