This commit is contained in:
Gerard 2019-02-14 12:06:14 +01:00
parent 16f92ce646
commit 1144a197a5
2 changed files with 5 additions and 4 deletions

View File

@ -60,8 +60,10 @@ module.exports = Self => {
await model.Sale.update({id: params.editLines[i].id}, {discount: params.editLines[i].discount});
}
if (usesMana) {
query = `
call vn.manaSpellersRequery(?)`;
await Self.rawSql(query, [ticket[0].client().salesPersonFk]);
}
};
};

View File

@ -51,10 +51,9 @@ class Controller {
}).catch(e => {
this.vnApp.showError(e.data.error.message);
});
} else {
} else
this.vnApp.showError(this.$translate.instant('There is no changes to save'));
}
}
clear() {
this.newDiscount = null;