#6321 - Negative tickets #1945

Open
jsegarra wants to merge 97 commits from 6321_negative_tickets into dev
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 7468f87808 - Show all commits

View File

@ -66,7 +66,8 @@ module.exports = Self => {
await Self.transferSales(ctx, tid, vNewTicket, sales, myOptions);
await Self.rawSql(`CALL vn.ticket_setState(?, ?)`, [tid, 'FIXING'], myOptions);
results.push({ticket: tid, status: 'split'});
results.push({ticket: tid, newTicket: vNewTicket, status: 'split'});
await tx.commit();
} catch ({message}) {
results.push({ticket: tid, status: 'error', message});
}