Bug 40795

Summary: Fix +add note function on payment table
Product: Koha Reporter: Juliet Heltibridle <jheltibridle>
Component: Fines and feesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Juliet Heltibridle 2025-09-11 17:40:49 UTC
Now that bug 23674 allows notes on all transactions in the transactions table, the +Add note function in the payments table can cause some additional confusion. In the payments table (pay.pl) you can click on +Add Note, but the note can't be saved unless you pay the fine in the payment screen. The same note can now be edited or saved in the transactions table in 25.05.

Steps to duplicate issue:
1. Go to a patron with outstanding fines/fees
2. Go to the Make a payment tab
3. In the payments table, click +Add Note for a transaction
4. Type a note.
5. Note that there is no way to save the edit. 
6. Press enter on the note, Koha takes you to the payment screen, where the changes are shown, but you must pay the fine to save the change.
7. Go to the transactions tab in 25.05.
8. Click edit and type a note and confirm
8. Go to Make a payment tab and see the note you added. The note will look like it is selected for additional editing.

I would like to either see this column become uneditable (so you have to edit it in the transactions table) or have it function the same as the transactions table (have an edit button that opens a popup to edit the note).