Browse Source

[Administration] Distributions : correctif CA par point de vente

feature/rotating_product
Guillaume Bourgeois 7 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

totalActivePointSale: function () { totalActivePointSale: function () {
var total = 0; var total = 0;
for (var i = 0; i < this.orders.length; i++) { 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); total += parseFloat(this.orders[i].amount);
} }
} }
weightActivePointSale: function () { weightActivePointSale: function () {
var weight = 0; var weight = 0;
for (var i = 0; i < this.orders.length; i++) { 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); 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