Убрал копейки в значении цены внутри корзины

parent 723d395c
...@@ -45,10 +45,10 @@ $(document).ready(function(){ ...@@ -45,10 +45,10 @@ $(document).ready(function(){
var var
isCurrencyValue = currencyFields.indexOf(currentActiveLine) > -1, isCurrencyValue = currencyFields.indexOf(currentActiveLine) > -1,
isNonFormatValue = notFormatFields.indexOf(currentActiveLine) > -1, isNonFormatValue = notFormatFields.indexOf(currentActiveLine) > -1,
format = (isCurrencyValue) ? d3.format(',.2f') : d3.format(',.0f');
if (currentActiveLine == 'OrderSum') {
format = d3.format(',.0f'); format = d3.format(',.0f');
if (currentActiveLine == 'AdMoney') {
format = d3.format(',.2f');
} }
if (isNonFormatValue) { if (isNonFormatValue) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment