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

--- Comment #30 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 194272
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194272&action=edit
Bug 4858: Refine OPAC print notice UX for patrons without an email address

When a patron has no email address on file:
- Print transport checkboxes are forced checked and disabled (print is the
  system fallback when no email exists); a hidden input ensures the print
  preference is submitted despite the checkbox being disabled.
- Email transport checkboxes are disabled (there is no address to send to).

Merge the two separate alert blocks (warning before the form, info after the
table) into a single alert at the top of the page. Use alert-warning styling
when the patron has no email address (charges will apply, no choice) and
alert-info styling when they do have an email (charges are avoidable by
selecting email delivery).

Also move the has_print_transport calculation before the form so the
unified alert can use it.

Sponsored-by: OpenFifth <https://openfifth.co.uk\>
Signed-off-by: Jackie Usher <[email protected]>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
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