updating wording on tran workflow

This commit is contained in:
2025-11-28 09:51:28 +02:00
parent c1fb2ac3f7
commit 536abca5ff

View File

@@ -225,7 +225,8 @@ public class TransactionWorkflow extends WorkflowDefinition {
// polling has already happened
if(transaction.getPollingStatus() == Status.SUCCESS){
return NextAction.moveToState(DONE,
"Polling already complete");
"Purchase invoice payment generated - id: " + transaction.getErpPurchasePaymentRef() + ". " +
"Not proceeding because polling already complete");
}
return NextAction.moveToState(PURCHASE_INVOICE_PAYMENT_SUCCESS,
"Purchase invoice payment generated - id: " + transaction.getErpPurchasePaymentRef());