fix: parent qty not reduce when split QR
parent
b4f141e628
commit
4a3e77043e
|
@ -107,6 +107,10 @@ export class QueueOrchestrator {
|
|||
existTicket.items.push(...items);
|
||||
await this.dataService.updateQueueTicket(existTicket);
|
||||
|
||||
data.items.forEach((item) => {
|
||||
this.queueService.updateItemQty(item.queue_item_id, item.qty);
|
||||
});
|
||||
|
||||
return queue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue