Bug 30237: Reference new WELCOME notice
This patch updates all references to the former ACCTDETAILS notice to use the new WELCOME email notice instead. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
2609adc1bd
commit
a4da023bae
|
|
@ -442,7 +442,7 @@ sub import_patrons {
|
|||
|
||||
next LINE unless $success;
|
||||
|
||||
# Send ACCTDETAILS welcome email is the user is new and we're set to send mail
|
||||
# Send WELCOME welcome email is the user is new and we're set to send mail
|
||||
if ($send_welcome && $is_new) {
|
||||
my $emailaddr = $patron->notice_email_address;
|
||||
|
||||
|
|
@ -451,7 +451,7 @@ sub import_patrons {
|
|||
eval {
|
||||
my $letter = GetPreparedLetter(
|
||||
module => 'members',
|
||||
letter_code => 'ACCTDETAILS',
|
||||
letter_code => 'WELCOME',
|
||||
branchcode => $patron->branchcode,,
|
||||
lang => $patron->lang || 'default',
|
||||
tables => {
|
||||
|
|
|
|||
|
|
@ -349,7 +349,7 @@
|
|||
<li>
|
||||
<input class="welcome_new" type="checkbox" id="welcome_new" name="welcome_new"/>
|
||||
<label class="welcome_new" for="welcome_new">Send email to new patrons</label>
|
||||
<span class="hint"> ACCTDETAILS notice is used</span>
|
||||
<span class="hint"> WELCOME notice is used</span>
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
|
|
|||
|
|
@ -468,7 +468,7 @@ if ((!$nok) and $nodouble and ($op eq 'insert' or $op eq 'save')){
|
|||
eval {
|
||||
my $letter = GetPreparedLetter(
|
||||
module => 'members',
|
||||
letter_code => 'ACCTDETAILS',
|
||||
letter_code => 'WELCOME',
|
||||
branchcode => $patron->branchcode,,
|
||||
lang => $patron->lang || 'default',
|
||||
tables => {
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ Retain extended patron attributes for existing patrons being overwritten
|
|||
|
||||
=item B<-en|--email-new>
|
||||
|
||||
Send the ACCTDETAILS welcome email to new users
|
||||
Send the WELCOME notice email to new users
|
||||
|
||||
=item B<-v|--verbose>
|
||||
|
||||
|
|
|
|||
|
|
@ -253,7 +253,7 @@ if ( $action eq 'create' ) {
|
|||
eval {
|
||||
my $letter = GetPreparedLetter(
|
||||
module => 'members',
|
||||
letter_code => 'ACCTDETAILS',
|
||||
letter_code => 'WELCOME',
|
||||
branchcode => $patron->branchcode,,
|
||||
lang => $patron->lang || 'default',
|
||||
tables => {
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ if (
|
|||
eval {
|
||||
my $letter = GetPreparedLetter(
|
||||
module => 'members',
|
||||
letter_code => 'ACCTDETAILS',
|
||||
letter_code => 'WELCOME',
|
||||
branchcode => $patron->branchcode,,
|
||||
lang => $patron->lang || 'default',
|
||||
tables => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue