INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`) VALUES ('NoAdvanceNoticeWhenAutoRenewal', '0', '', 'Disable advance notices when auto renew was used', 'YesNo');
Calendar: the calendar to skip all days the library is closed.
Datedue: the calendar to push the due date to the next open day
-
- pref: NoAdvanceNoticeWhenAutoRenewal
choices:
yes: Do not send
no: Send
- advance notice when loan was automatically renewable when issued.
- Calculate "No renewal before" based on
- pref: NoRenewalBeforePrecision
message_name => 'advance_notice' } );
next UPCOMINGITEM unless $borrower_preferences && exists $borrower_preferences->{'days_in_advance'};
next UPCOMINGITEM unless $borrower_preferences->{'days_in_advance'} == $upcoming->{'days_until_due'};
next UPCOMINGITEM if C4::Context->preference('NoAdvanceNoticeWhenAutoRenewal') && $upcoming->{'auto_renew'};
if ( $borrower_preferences->{'wants_digest'} ) {
# cache this one to process after we've run through all of the items.