Merge branch 'test' of https://gitea.verdnatura.es/verdnatura/salix into dev
gitea/salix/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
Joan Sanchez 2020-06-22 11:54:50 +02:00
commit 356c1a7b45
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class Controller extends Component {
let salesIds = []; let salesIds = [];
let modified = false; let modified = false;
if (!this.newDiscount) return; if (this.newDiscount == null) return;
for (let i = 0; i < this.edit.length; i++) { for (let i = 0; i < this.edit.length; i++) {
if (this.newDiscount != this.edit[0].discount || this.bulk || !this.newDiscount) { if (this.newDiscount != this.edit[0].discount || this.bulk || !this.newDiscount) {