update add orderjs and origami js
This commit is contained in:
@@ -697,7 +697,8 @@ $(function() {
|
||||
|
||||
qty = parseInt(data.attr('data-qty'));
|
||||
append = 0;
|
||||
price = parseFloat(data.attr('data-price')).toFixed(2);
|
||||
price = data.attr('data-price');
|
||||
|
||||
instance_name = data.attr('data-instance');
|
||||
if (instance_name == "undefined"){
|
||||
instance = '';
|
||||
@@ -720,7 +721,7 @@ $(function() {
|
||||
}
|
||||
|
||||
$(item_row[i]).children('#item_qty').text(qty);
|
||||
parseFloat($(item_row[i]).children('#item_price').text(price*qty)).toFixed(2);
|
||||
parseFloat($(item_row[i]).children('#item_price').text(parseFloat(price*qty).toFixed(2)));
|
||||
append =1;
|
||||
}else{
|
||||
if (qty > 1) {
|
||||
|
||||
Reference in New Issue
Block a user