4481- Print service refactor #1064
|
@ -106,7 +106,7 @@ module.exports = Self => {
|
|||
// Update queue status
|
||||
const date = new Date();
|
||||
await Self.rawSql(`
|
||||
UPDATE invoiceOut_queue
|
||||
UPDATE invoiceOutQueue
|
||||
SET status = "printed",
|
||||
printed = ?
|
||||
WHERE invoiceFk = ?`,
|
||||
|
@ -117,7 +117,7 @@ module.exports = Self => {
|
|||
await tx.rollback();
|
||||
|
||||
await Self.rawSql(`
|
||||
UPDATE invoiceOut_queue
|
||||
UPDATE invoiceOutQueue
|
||||
SET status = ?
|
||||
WHERE invoiceFk = ?`,
|
||||
[error.message, invoiceId]);
|
||||
|
|
Loading…
Reference in New Issue