[Koha-bugs] [Bug 25534] Add ability to specifying and store a reason when cancelling a hold

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 10 14:42:09 CEST 2021


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

--- Comment #97 from Andrew Fuerste-Henry <andrew at bywatersolutions.com> ---
The Template Toolkit notice example given above had the wrong authorised value
category value. This will work:

[% USE AuthorisedValues %]
Reason: [% AuthorisedValues.GetByCode( 'HOLD_CANCELLATION',
hold.cancellation_reason, 'IS_OPAC' ) %]

[% IF hold.cancellation_reason == "YOUR_CODE" %]
IF perhaps you'd like to have a much longer explanation than just the
one sentence in the AV description, you can use IF blocks using Template
Toolkit markup!
[% END %]

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list