https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13498

--- Comment #19 from Emmi Takkinen <[email protected]> ---
Tested this a little (sorry if I'm repeating what has already been said). We
call printslip.pl when printing ISSUESLIP or ISSUEQSLIP and from there we call
IssueSlip(). This then calls GetPreparedLetter(). 
If we add message_transport_type => 'print' parameter to that
GetPreparedLetter() call in IssueSlip(), print notice is printed correctly.
However if 'print' notice isn't found, GetPreparedLetter() fails to, because

my $mtt         = $params{message_transport_type} || 'email';

obviously has value 'print', not undef and doesn't fall back to email.

So we need to 1) add message_transport_type => 'print' param when calling
notices that are primaly printed (not just to printslip.pl but also
hold-transfer-slip.pl etc.) 2) determine in GetPreparedLetter() if print notice
actually exists and then fall back to email notice.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to