Allow change to discount 0%
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-06-22 11:49:44 +02:00
parent 2930b60adc
commit 4ad3334de6
1 changed files with 1 additions and 1 deletions

View File

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