4481- Print service refactor #1064

Merged
joan merged 27 commits from 4481-print_library2 into dev 2022-10-05 09:56:51 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit ccec38ef97 - Show all commits

View File

@ -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]);