Sha256: e175b8e9391e0ee396896e25adefcb53e359d10f12f04071a0c2bce4df6295e2
Contents?: true
Size: 386 Bytes
Versions: 149
Compression:
Stored size: 386 Bytes
Contents
//= require spree/backend/translation //= require solidus_admin/accounting Spree.formatMoney = function(amount, currency) { var currencyInfo = Spree.currencyInfo[currency]; var thousand = Spree.t('currency_delimiter'); var decimal = Spree.t('currency_separator'); return accounting.formatMoney(amount, currencyInfo[0], currencyInfo[1], thousand, decimal, currencyInfo[2]); }
Version data entries
149 entries across 149 versions & 2 rubygems