http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13096

--- Comment #2 from M. de Rooy <[email protected]> ---
Created attachment 32476
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32476&action=edit
Bug 13096: Send an ACCTDETAILS notice: Rewording pref and code changes

This patch adds a line to the AutoEmailOpacUser pref description.
It also makes some code changes to memberentry.pl. The code for selecting
an email address and sending the alert is moved to a subroutine.
An additional call is made for the op=save situation; if in that case
param mailacctdetails is true, a mail will be sent too.
Note that the script refers to op=duplicate several times. Inspecting the
template shows that the duplicate operation also goes via op=insert
however.

Test plan:
[1] Check the pref rewording in Systempreferences.
[2] Disable AutoEmailOpacUser. Add, duplicate, modify patron. No mails?
[3] Enable AutoEmailOpacUser. Add, duplicate patron. Check mail.
[4] Modify patron. Check the email checkbox. Did you receive it?
[5] Modify patron. Uncheck the email checkbox. No mail?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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