https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43402 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pedro.amorim@openfifth.co.u | |k --- Comment #18 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- 2 non-blockers for a possible follow-up: - t/cypress/integration/Circulation/PaymentReceiptAlert_spec.ts sets 'FinePaymentAutoPopup' back to '1' in its afterEach, but the default is '0' (see its row in installer/data/mysql/mandatory/sysprefs.sql). Running the spec leaves the pref changed: 1) Check 'FinePaymentAutoPopup' is set to 'Don't' 2) Run: yarn cypress run --spec t/cypress/integration/Circulation/PaymentReceiptAlert_spec.ts 3) Check 'FinePaymentAutoPopup' again: it is now set to 'Do' - The new receipt alert is nearly the same block in members/pay.tt and members/boraccount.tt (the [% IF payment_credit_type && !Koha.Preference('FinePaymentAutoPopup') %] block), and the payment lookup that feeds it is the same code in members/pay.pl and members/boraccount.pl (the 'if ($payment_id)' block). Any later change to the alert or the lookup has to be made twice. Potential candidate for DRY. -- You are receiving this mail because: You are watching all bug changes.