Pārlūkot izejas kodu

[Producer] Commande : correctif price total

refactoring
Guillaume Bourgeois pirms 2 gadiem
vecāks
revīzija
a3b1e9a536
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      producer/web/js/vuejs/order-order.js

+ 1
- 1
producer/web/js/vuejs/order-order.js Parādīt failu

@@ -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) {

Notiek ielāde…
Atcelt
Saglabāt