EFT payment amount should be read-only if there is an IN_PROGRESS EFTPOS transaction

Description

If there is an IN_PROGRESS EFTPOS transaction, the parent EFT payment/refund should be read-only. It should be only editable if the transaction status changes to CANCELLED, DECLINED or ERROR.

 

To reproduce:

  1. install the Sample EFTPOS Service plugin

  2. Configure a Sample EFTPOS Terminal and link it to a till

  3. Create a new payment, and add an EFT payment item

  4. Select the Sample EFTPOS Terminal, and click Apply to start EFT.

  5. Close the OpenVPMS browser tab, to simulate a failure

  6. Log in again, and edit the payment. The EFT item should have an IN_PROGRESS transaction. The Amount, Cashout and Terminal fields should all be read-only to prevent change while there is an ongoing transaction, but are editable.

Environment

None

Activity

Show:

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?

Created January 29, 2025 at 3:15 AM
Updated 4 days ago
Who's Looking?