瀏覽代碼

[Producer] Commande : correctif price total

refactoring
Guillaume Bourgeois 2 年之前
父節點
當前提交
a3b1e9a536
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      producer/web/js/vuejs/order-order.js

+ 1
- 1
producer/web/js/vuejs/order-order.js 查看文件

@@ -465,7 +465,7 @@ var app = new Vue({
for(var key in this.products) {
var quantity = this.products[key].quantity_form;
if(quantity > 0) {
price += quantity * this.getBestProductPrice(this.products[key].id, this.products[key].quantity_form);
price += (quantity / this.products[key].unit_coefficient) * this.getBestProductPrice(this.products[key].id, this.products[key].quantity_form);
}
}
if(format) {

Loading…
取消
儲存