fix: bulk transaction action
continuous-integration/drone/push Build is passing Details

pos/eiger
shancheas 2024-09-18 17:25:07 +07:00
parent 004dfc9de5
commit cc71814648
1 changed files with 2 additions and 1 deletions

View File

@ -99,6 +99,7 @@ export class TransactionDataOrchestrator {
return this.batchCancelManager.getResult(); return this.batchCancelManager.getResult();
} }
// Confirm from draft to pending
async confirm(dataId): Promise<string> { async confirm(dataId): Promise<string> {
this.confirmManager.setData(dataId, STATUS.ACTIVE); this.confirmManager.setData(dataId, STATUS.ACTIVE);
this.confirmManager.setService( this.confirmManager.setService(
@ -111,7 +112,7 @@ export class TransactionDataOrchestrator {
} }
async batchConfirm(dataIds: string[]): Promise<BatchResult> { async batchConfirm(dataIds: string[]): Promise<BatchResult> {
this.batchConfirmManager.setData(dataIds, STATUS.ACTIVE); this.batchConfirmManager.setData(dataIds, STATUS.PENDING);
this.batchConfirmManager.setService( this.batchConfirmManager.setService(
this.serviceData, this.serviceData,
TABLE_NAME.TRANSACTION, TABLE_NAME.TRANSACTION,