Lines 2084-2092
sub _koha_notify_reserve {
Link Here
|
2084 |
module => 'reserves', |
2084 |
module => 'reserves', |
2085 |
letter_code => 'HOLD_CHANGED', |
2085 |
letter_code => 'HOLD_CHANGED', |
2086 |
branchcode => $reserve->{branchcode}, |
2086 |
branchcode => $reserve->{branchcode}, |
2087 |
substitute => { today => C4::Dates->new()->output() }, |
2087 |
substitute => { today => dt_from_string() }, |
2088 |
tables => { |
2088 |
tables => { |
2089 |
'branches' => $branch_details, |
2089 |
'branches' => $library, |
2090 |
'borrowers' => $borrower, |
2090 |
'borrowers' => $borrower, |
2091 |
'biblio' => $biblionumber, |
2091 |
'biblio' => $biblionumber, |
2092 |
'reserves' => $reserve, |
2092 |
'reserves' => $reserve, |
Lines 2096-2102
sub _koha_notify_reserve {
Link Here
|
2096 |
|
2096 |
|
2097 |
my $email = |
2097 |
my $email = |
2098 |
C4::Context->preference('ExpireReservesAutoFillEmail') |
2098 |
C4::Context->preference('ExpireReservesAutoFillEmail') |
2099 |
|| $branch_details->{'branchemail'} |
2099 |
|| $library->{'branchemail'} |
2100 |
|| C4::Context->preference('KohaAdminEmailAddress'); |
2100 |
|| C4::Context->preference('KohaAdminEmailAddress'); |
2101 |
|
2101 |
|
2102 |
C4::Letters::EnqueueLetter( |
2102 |
C4::Letters::EnqueueLetter( |
2103 |
- |
|
|