Browse Source

[Administration] Distributions : correctif CA par point de vente

feature/rotating_product
Guillaume Bourgeois 6 months ago
parent
commit
597cfbf27c
2 changed files with 2654 additions and 110301 deletions
  1. +2
    -2
      backend/web/js/vuejs/distribution-index.js
  2. +2652
    -110299
      producer/runtime/logs/app.log

+ 2
- 2
backend/web/js/vuejs/distribution-index.js View File

@@ -655,7 +655,7 @@ var app = new Vue({
totalActivePointSale: function () {
var total = 0;
for (var i = 0; i < this.orders.length; i++) {
if (this.orders[i].id_point_sale == this.idActivePointSale) {
if (this.orders[i].id_point_sale == this.idActivePointSale && !this.orders[i].date_delete) {
total += parseFloat(this.orders[i].amount);
}
}
@@ -664,7 +664,7 @@ var app = new Vue({
weightActivePointSale: function () {
var weight = 0;
for (var i = 0; i < this.orders.length; i++) {
if (this.orders[i].id_point_sale == this.idActivePointSale) {
if (this.orders[i].id_point_sale == this.idActivePointSale && !this.orders[i].date_delete) {
weight += parseFloat(this.orders[i].weight);
}
}

+ 2652
- 110299
producer/runtime/logs/app.log
File diff suppressed because it is too large
View File


Loading…
Cancel
Save