Lines 61-67
holds_reminder.pl
Link Here
|
61 |
-lettercode <lettercode> predefined notice to use, default is HOLD_REMINDER |
61 |
-lettercode <lettercode> predefined notice to use, default is HOLD_REMINDER |
62 |
-library <branchname> only deal with holds from this library (repeatable : several libraries can be given) |
62 |
-library <branchname> only deal with holds from this library (repeatable : several libraries can be given) |
63 |
-holidays use the calendar to not count holidays as waiting days |
63 |
-holidays use the calendar to not count holidays as waiting days |
64 |
-mtt <message_transport_type> type of messages to send, default is to use patrons messaging preferences for Hold filled |
64 |
-mtt <message_transport_type> type of messages to send, default is to use patrons messaging preferences for Hold reminder |
65 |
populating this will force send even if patron has not chosen to receive hold notices |
65 |
populating this will force send even if patron has not chosen to receive hold notices |
66 |
email and sms will fallback to print if borrower does not have an address/phone |
66 |
email and sms will fallback to print if borrower does not have an address/phone |
67 |
-date Send notices as would have been sent on a specific date |
67 |
-date Send notices as would have been sent on a specific date |
Lines 265-272
foreach my $branchcode (@branchcodes) { #BEGIN BRANCH LOOP
Link Here
|
265 |
my %done; |
265 |
my %done; |
266 |
|
266 |
|
267 |
# If passed message transports we force use those, otherwise we will use the patrons preferences |
267 |
# If passed message transports we force use those, otherwise we will use the patrons preferences |
268 |
# for the 'Hold_Filled' notice |
268 |
# for the 'Hold_Reminder' notice |
269 |
my $sending_params = @mtts ? { message_transports => \@mtts } : { message_name => "Hold_Filled" }; |
269 |
my $sending_params = @mtts ? { message_transports => \@mtts } : { message_name => "Hold_Reminder" }; |
270 |
|
270 |
|
271 |
|
271 |
|
272 |
my %patrons; |
272 |
my %patrons; |
273 |
- |
|
|