From 4ad3334de669a68938ea489800240317a4220889 Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Mon, 22 Jun 2020 11:49:44 +0200 Subject: [PATCH] Allow change to discount 0% --- modules/ticket/front/sale/editDiscount.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ticket/front/sale/editDiscount.js b/modules/ticket/front/sale/editDiscount.js index 573880306..c39077476 100644 --- a/modules/ticket/front/sale/editDiscount.js +++ b/modules/ticket/front/sale/editDiscount.js @@ -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) {