#1112 ticket.sale
This commit is contained in:
parent
16f92ce646
commit
1144a197a5
|
@ -60,8 +60,10 @@ module.exports = Self => {
|
|||
await model.Sale.update({id: params.editLines[i].id}, {discount: params.editLines[i].discount});
|
||||
}
|
||||
|
||||
query = `
|
||||
if (usesMana) {
|
||||
query = `
|
||||
call vn.manaSpellersRequery(?)`;
|
||||
await Self.rawSql(query, [ticket[0].client().salesPersonFk]);
|
||||
await Self.rawSql(query, [ticket[0].client().salesPersonFk]);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
|
@ -51,9 +51,8 @@ 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() {
|
||||
|
|
Loading…
Reference in New Issue