https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40795

--- Comment #2 from Lisette Scheer <[email protected]> ---
Created attachment 187310
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187310&action=edit
Bug 40795: Fix +add note function on payment table

This patch updates the table on members/pay.pl to have consistant ui with the
transactions table, using a modal.

On members/pay.pl if there's no note, a note can still be added without the
edit permission to allow for notes at time of payment, consistent with current
behavior.
I also updated the logic with the buttons on both pages to show as "add" when
there's not a note present.

To test:
1. Before applying patches, navigate to a user in your test environment (I used
23529000035676)
2. Click "Accounting" in the left hand link list
3. Create manual invoice, give it an amount but no note
4. Create another manual invoice, give it an amount and any note.
5. Navigate to "Transactions" observe both notes have an edit button.
6. Click edit on the one with a note, update it, and save. Note it has been
updated.
7. Navigate to "Make a payment" Observe both columns have a text box that's
immediately editable. The note should be filled on the charge with a note.
8. Apply the patch
9. Repeat step 5, observe the column with no note says "Add" now.
10. Repeat step 7, observe the payment note field matches the "note" field on
transactions.
11. Edit the existing note and save
12. Add a new note for the other transaction and save.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to