fix: don't create queue from POS
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
3ace59c450
commit
769e8174f4
|
@ -21,7 +21,8 @@ export class QueueTransactionHandler
|
|||
/**
|
||||
* If data still in process (not settled) then don't create the queue order
|
||||
*/
|
||||
if (process_data?.status != 'settled') return;
|
||||
if (process_data?.status != 'settled' || process_data?.pos_number != null)
|
||||
return;
|
||||
|
||||
const transaction = await this.dataService.getOneByOptions({
|
||||
where: {
|
||||
|
|
Loading…
Reference in New Issue