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:
Martin Renvoize 2022-03-08 13:42:38 +00:00 committed by Fridolin Somers
parent 2609adc1bd
commit a4da023bae
6 changed files with 7 additions and 7 deletions

View File

@ -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 => {

View File

@ -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>

View File

@ -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 => {

View File

@ -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>

View File

@ -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 => {

View File

@ -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 => {