View | Details | Raw Unified | Return to bug 30237
Collapse All | Expand All

(-)a/Koha/Patrons/Import.pm (-2 / +2 lines)
Lines 442-448 sub import_patrons { Link Here
442
442
443
        next LINE unless $success;
443
        next LINE unless $success;
444
444
445
        # Send ACCTDETAILS welcome email is the user is new and we're set to send mail
445
        # Send WELCOME welcome email is the user is new and we're set to send mail
446
        if ($send_welcome && $is_new) {
446
        if ($send_welcome && $is_new) {
447
            my $emailaddr = $patron->notice_email_address;
447
            my $emailaddr = $patron->notice_email_address;
448
448
Lines 451-457 sub import_patrons { Link Here
451
                eval {
451
                eval {
452
                    my $letter = GetPreparedLetter(
452
                    my $letter = GetPreparedLetter(
453
                        module      => 'members',
453
                        module      => 'members',
454
                        letter_code => 'ACCTDETAILS',
454
                        letter_code => 'WELCOME',
455
                        branchcode  => $patron->branchcode,,
455
                        branchcode  => $patron->branchcode,,
456
                        lang        => $patron->lang || 'default',
456
                        lang        => $patron->lang || 'default',
457
                        tables      => {
457
                        tables      => {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt (-1 / +1 lines)
Lines 350-356 Link Here
350
                <li>
350
                <li>
351
                    <input class="welcome_new" type="checkbox" id="welcome_new" name="welcome_new"/>
351
                    <input class="welcome_new" type="checkbox" id="welcome_new" name="welcome_new"/>
352
                    <label class="welcome_new" for="welcome_new">Send email to new patrons</label>
352
                    <label class="welcome_new" for="welcome_new">Send email to new patrons</label>
353
                    <span class="hint"> ACCTDETAILS notice is used</span>
353
                    <span class="hint"> WELCOME notice is used</span>
354
                </li>
354
                </li>
355
            </ul>
355
            </ul>
356
        </fieldset>
356
        </fieldset>
(-)a/members/memberentry.pl (-1 / +1 lines)
Lines 468-474 if ((!$nok) and $nodouble and ($op eq 'insert' or $op eq 'save')){ Link Here
468
                eval {
468
                eval {
469
                    my $letter = GetPreparedLetter(
469
                    my $letter = GetPreparedLetter(
470
                        module      => 'members',
470
                        module      => 'members',
471
                        letter_code => 'ACCTDETAILS',
471
                        letter_code => 'WELCOME',
472
                        branchcode  => $patron->branchcode,,
472
                        branchcode  => $patron->branchcode,,
473
                        lang        => $patron->lang || 'default',
473
                        lang        => $patron->lang || 'default',
474
                        tables      => {
474
                        tables      => {
(-)a/misc/import_patrons.pl (-1 / +1 lines)
Lines 150-156 Retain extended patron attributes for existing patrons being overwritten Link Here
150
150
151
=item B<-en|--email-new>
151
=item B<-en|--email-new>
152
152
153
Send the ACCTDETAILS welcome email to new users
153
Send the WELCOME notice email to new users
154
154
155
=item B<-v|--verbose>
155
=item B<-v|--verbose>
156
156
(-)a/opac/opac-memberentry.pl (-1 / +1 lines)
Lines 252-258 if ( $action eq 'create' ) { Link Here
252
                        eval {
252
                        eval {
253
                            my $letter = GetPreparedLetter(
253
                            my $letter = GetPreparedLetter(
254
                                module      => 'members',
254
                                module      => 'members',
255
                                letter_code => 'ACCTDETAILS',
255
                                letter_code => 'WELCOME',
256
                                branchcode  => $patron->branchcode,,
256
                                branchcode  => $patron->branchcode,,
257
                                lang        => $patron->lang || 'default',
257
                                lang        => $patron->lang || 'default',
258
                                tables      => {
258
                                tables      => {
(-)a/opac/opac-registration-verify.pl (-2 / +1 lines)
Lines 87-93 if ( Link Here
87
                eval {
87
                eval {
88
                    my $letter = GetPreparedLetter(
88
                    my $letter = GetPreparedLetter(
89
                        module      => 'members',
89
                        module      => 'members',
90
                        letter_code => 'ACCTDETAILS',
90
                        letter_code => 'WELCOME',
91
                        branchcode  => $patron->branchcode,,
91
                        branchcode  => $patron->branchcode,,
92
                        lang        => $patron->lang || 'default',
92
                        lang        => $patron->lang || 'default',
93
                        tables      => {
93
                        tables      => {
94
- 

Return to bug 30237