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