Bug 21917

Summary: Payment type should not show on Write off selected
Product: Koha Reporter: Christopher Brannon <cbrannon>
Component: Fines and feesAssignee: Lucas Gass (lukeg) <lucas>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: josef.moravec, lucas, marjorie.barry-vila
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Crowdfunding committed: 0
Crowdfunding contact: Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Christopher Brannon 2018-11-29 17:31:38 UTC
Payment type shows when you select Write off selected.  Should not be a choice.
Comment 1 Lucas Gass (lukeg) 2019-06-17 19:50:59 UTC
On the pat_paycollect page there are options to pay a fine, write off a fine, pay an individiual fine, or write off an individual fine. Clicking a button brings up the corresponding form, with the following ID's and names:

Pay selected fine: id="payfine" name="payfine"
Write off selected fine: id="payfine" name="payfine"
Pay Individual fine: id="payindivfine" name="payindivfine"
Write off individual fine: id="woindivfine" name="woindivfine"


Write off selected doesnt not have its own unique id and name. This makes it difficult to devise JavaScript that works on one but not the other.
Comment 2 Katrin Fischer 2020-04-13 02:50:58 UTC
I've tested and the payment type is on longer visible when Writeoff selected is used.