|
|
@@ -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); |
|
|
|
} |
|
|
|
} |