https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43293
Bug ID: 43293
Summary: Add IDs to the Pay/Write off confirm buttons on
paycollect.tt
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Templates
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Target Milestone: ---
The Confirm submit button on the combined pay/writeoff form in
members/paycollect.tt doesn't have an id, making it hard for local
customisations, hardware integrations (e.g. receipt printer triggers),
and automated tests to reliably target the pay action versus the
writeoff action - both render as the same markup with only the
value/hidden op field differing.
This patch adds id="paysubmit" and id="writeoffsubmit" to the two
branches of the existing type == 'WRITEOFF' conditional, matching the
existing op=cud-pay/op=cud-writeoff split right above it.
Test plan:
1. Go to a patron's Pay fines page and select multiple charges
2. Choose Pay - confirm the Confirm button has id="paysubmit"
3. Choose Write off - confirm the Confirm button has id="writeoffsubmit"
4. Confirm both flows still submit and behave exactly as before
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/