method updated

This commit is contained in:
gerard 2018-08-22 09:08:11 +02:00
parent 0fcbb383ee
commit 1dd4ffcc13
1 changed files with 0 additions and 1 deletions

View File

@ -22,7 +22,6 @@ module.exports = Self => {
});
Self.removes = async params => {
console.log(params);
let thisTicketIsEditable = await Self.app.models.Ticket.isEditable(params.actualTicketFk);
if (!thisTicketIsEditable)
throw new UserError(`The sales of this ticket can't be modified`);