https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43402 --- Comment #16 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 210234 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210234&action=edit Bug 43402: (QA follow-up) Say that a fee was written off, not that a payment was received The notification offered after a payment is taken on the patron account pages said "Payment received" for a write off too, which could make staff worry that they had entered a payment rather than a write off. pay.pl and boraccount.pl now look up the credit by its payment_id, on the patron's account, and give its type to the template, which says "Fee written off" for a write off and keeps "Payment received" otherwise. As a result the notification, and the links to its receipt, are only shown for a credit that is on the account of the patron being looked at, instead of for any payment_id. To test: 1. Set FinePaymentAutoPopup to "Do not show" 2. Write off a fee, individually (Write off) and by selecting charges (Write off selected) => "Fee written off", with Print/Email receipt 3. Pay a fee, individually and by selecting charges => "Payment received", with Print/Email receipt 4. Open members/pay.pl or members/boraccount.pl with the payment_id of another patron's payment => No notification 5. Run the Cypress spec t/cypress/integration/Circulation/PaymentReceiptAlert_spec.ts Sponsored-by: Martin Renvoize <martin.renvoize@gmail.com> Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.