diff --git a/src/modules/queue/data/services/ticket.service.ts b/src/modules/queue/data/services/ticket.service.ts index 0ceb0fb..0aa8b8f 100644 --- a/src/modules/queue/data/services/ticket.service.ts +++ b/src/modules/queue/data/services/ticket.service.ts @@ -138,11 +138,11 @@ export class TicketDataService extends BaseDataService { where: { // order_id: In(order), id: ticket_id, - items: { - queue: { - status: In(['waiting']), - }, - }, + // items: { + // queue: { + // status: In(['waiting']), + // }, + // }, }, }); } diff --git a/src/modules/queue/infrastructure/handlers/transaction.handler.ts b/src/modules/queue/infrastructure/handlers/transaction.handler.ts index 10c2105..0249adf 100644 --- a/src/modules/queue/infrastructure/handlers/transaction.handler.ts +++ b/src/modules/queue/infrastructure/handlers/transaction.handler.ts @@ -43,7 +43,7 @@ export class QueueTransactionHandler code: invoice_code, customer: customer_name, phone: customer_phone, - date: queue_date, + date: queue_date * 1000, transaction_id: id, };