Lines 291-296
while ( my $expiring_patron = $upcoming_mem_expires->next ) {
Link Here
|
291 |
message_name => 'Patron_Expiry', |
291 |
message_name => 'Patron_Expiry', |
292 |
}; |
292 |
}; |
293 |
|
293 |
|
|
|
294 |
my $is_notice_mandatory = grep( $expiring_patron->categorycode, @mandatory_expiry_notice_categories ); |
295 |
if ($is_notice_mandatory) { |
296 |
$sending_params->{expiry_notice_mandatory} = 1; |
297 |
$sending_params->{primary_contact_method} = $expiring_patron->primary_contact_method; |
298 |
} |
299 |
|
294 |
my $result = $expiring_patron->queue_notice($sending_params); |
300 |
my $result = $expiring_patron->queue_notice($sending_params); |
295 |
$count_enqueued++ if $result->{sent}; |
301 |
$count_enqueued++ if $result->{sent}; |
296 |
} |
302 |
} |
297 |
- |
|
|