|
Lines 2118-2126
sub _koha_notify_reserve {
Link Here
|
| 2118 |
module => 'reserves', |
2118 |
module => 'reserves', |
| 2119 |
letter_code => 'HOLD_CHANGED', |
2119 |
letter_code => 'HOLD_CHANGED', |
| 2120 |
branchcode => $reserve->{branchcode}, |
2120 |
branchcode => $reserve->{branchcode}, |
| 2121 |
substitute => { today => C4::Dates->new()->output() }, |
2121 |
substitute => { today => dt_from_string() }, |
| 2122 |
tables => { |
2122 |
tables => { |
| 2123 |
'branches' => $branch_details, |
2123 |
'branches' => $library, |
| 2124 |
'borrowers' => $borrower, |
2124 |
'borrowers' => $borrower, |
| 2125 |
'biblio' => $biblionumber, |
2125 |
'biblio' => $biblionumber, |
| 2126 |
'reserves' => $reserve, |
2126 |
'reserves' => $reserve, |
|
Lines 2130-2136
sub _koha_notify_reserve {
Link Here
|
| 2130 |
|
2130 |
|
| 2131 |
my $email = |
2131 |
my $email = |
| 2132 |
C4::Context->preference('ExpireReservesAutoFillEmail') |
2132 |
C4::Context->preference('ExpireReservesAutoFillEmail') |
| 2133 |
|| $branch_details->{'branchemail'} |
2133 |
|| $library->{'branchemail'} |
| 2134 |
|| C4::Context->preference('KohaAdminEmailAddress'); |
2134 |
|| C4::Context->preference('KohaAdminEmailAddress'); |
| 2135 |
|
2135 |
|
| 2136 |
C4::Letters::EnqueueLetter( |
2136 |
C4::Letters::EnqueueLetter( |
| 2137 |
- |
|
|