fix: QR queue and date booking
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

pull/115/head 20.2.10-alpha.5
shancheas 2024-11-08 15:13:33 +07:00
parent bf5914af92
commit d413f1fa7b
2 changed files with 6 additions and 6 deletions

View File

@ -138,11 +138,11 @@ export class TicketDataService extends BaseDataService<QueueTicket> {
where: { where: {
// order_id: In(order), // order_id: In(order),
id: ticket_id, id: ticket_id,
items: { // items: {
queue: { // queue: {
status: In(['waiting']), // status: In(['waiting']),
}, // },
}, // },
}, },
}); });
} }

View File

@ -43,7 +43,7 @@ export class QueueTransactionHandler
code: invoice_code, code: invoice_code,
customer: customer_name, customer: customer_name,
phone: customer_phone, phone: customer_phone,
date: queue_date, date: queue_date * 1000,
transaction_id: id, transaction_id: id,
}; };