fix: summary ticket without order
parent
3ed25e1366
commit
28c1ab36da
|
@ -132,11 +132,11 @@ export class TicketDataService extends BaseDataService<QueueTicket> {
|
||||||
order_id: string,
|
order_id: string,
|
||||||
ticket_id: string,
|
ticket_id: string,
|
||||||
): Promise<QueueTicketModel[]> {
|
): Promise<QueueTicketModel[]> {
|
||||||
const order = await this.orderIds(order_id);
|
// const order = await this.orderIds(order_id);
|
||||||
return this.repo.find({
|
return this.repo.find({
|
||||||
relations: ['items', 'items.queue'],
|
relations: ['items', 'items.queue'],
|
||||||
where: {
|
where: {
|
||||||
order_id: In(order),
|
// order_id: In(order),
|
||||||
id: ticket_id,
|
id: ticket_id,
|
||||||
items: {
|
items: {
|
||||||
queue: {
|
queue: {
|
||||||
|
|
Loading…
Reference in New Issue