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