Bug 10845: (follow-up) add the MTT in the die message
If no template is defined for the HOLD letter and the needed MTT, we should display the MTT. Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
777814a260
commit
7e878d42a0
1 changed files with 1 additions and 1 deletions
|
@ -1930,7 +1930,7 @@ sub _koha_notify_reserve {
|
||||||
$letter_params{letter_code} = $letter_code;
|
$letter_params{letter_code} = $letter_code;
|
||||||
$letter_params{message_transport_type} = $mtt;
|
$letter_params{message_transport_type} = $mtt;
|
||||||
my $letter = C4::Letters::GetPreparedLetter ( %letter_params )
|
my $letter = C4::Letters::GetPreparedLetter ( %letter_params )
|
||||||
or die "Could not find a letter called '$letter_params{'letter_code'}' in the 'reserves' module";
|
or die "Could not find a letter called '$letter_params{'letter_code'}' for $mtt in the 'reserves' module";
|
||||||
|
|
||||||
C4::Letters::EnqueueLetter( {
|
C4::Letters::EnqueueLetter( {
|
||||||
letter => $letter,
|
letter => $letter,
|
||||||
|
|
Loading…
Reference in a new issue