Change product quantity compoent precision to 8
This commit is contained in:
@@ -70,10 +70,10 @@ var items = this.items;
|
||||
if(total_quantity=='NaN'){
|
||||
total_quantity=0;
|
||||
}
|
||||
$(row).val(QuantityFormat(total_quantity,6));
|
||||
$(row).val(QuantityFormat(total_quantity,8));
|
||||
console.log(items);
|
||||
|
||||
items[index ]['quantity'] = total_quantity.toFixed(6);
|
||||
items[index ]['quantity'] = total_quantity.toFixed(8);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -95,8 +95,8 @@ var items = this.items;
|
||||
if(total_quantity=='NaN'){
|
||||
total_quantity=0;
|
||||
}
|
||||
$(row).val(QuantityFormat(total_quantity,6));
|
||||
items[index ]['quantity'] = total_quantity.toFixed(6);
|
||||
$(row).val(QuantityFormat(total_quantity,8));
|
||||
items[index ]['quantity'] = total_quantity.toFixed(8);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user