method updated
This commit is contained in:
parent
0fcbb383ee
commit
1dd4ffcc13
|
@ -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`);
|
||||
|
|
Loading…
Reference in New Issue