Web Client: Apply Payment button on patron Bills screen should be inactive if Payment Received is blank
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
High
|
Unassigned | ||
3.0 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Evergreen 3.0.3
In the xul client patron bills screen, if no billings are selected OR no amount is entered in the "Payment Received" box, the "Apply Payment" button is not greyed out, but clicking it produces a pop-up message:
No payments or patron credit applied.
In the web client, the "Apply Payment" button appears greyed out if no billings are selected. With billings selected, the button is active whether or not an amount is entered in "Payment Received"
If "Apply Payment" is clicked without an amount entered, there is no pop up warning that no payment has been made. This could lead to payments not being credited to a patron's account.
For feature parity with the xul client, a pop-up warning is needed that no payment has been applied. But my preference would be for the "Apply Payment" button to remain inactive unless billings are selected and an amount is entered in "Payment Received"
Changed in evergreen: | |
status: | New → Confirmed |
Changed in evergreen: | |
assignee: | nobody → Garry Collum (gcollum) |
Changed in evergreen: | |
status: | Confirmed → In Progress |
Changed in evergreen: | |
assignee: | Garry Collum (gcollum) → nobody |
Changed in evergreen: | |
assignee: | nobody → Dawn Dale (ddale) |
Changed in evergreen: | |
assignee: | nobody → Bill Erickson (berick) |
milestone: | none → 3.1.2 |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Attached is a patch that provides a solution based on Terran's second option. After applying the patch the Apply Payment button doesn't activate unless both a billing or billings are checked and a numerical value is entered into the Payment Received text box.