Bug 26281: Add cancellation reason to holds history
Bug 25534 adds the ability to store the cancellation reason when a hold is cancelled and communicate it to the user. It would be great if the cancellation reason could also be shown on the holds history. Test Plan: 1) Apply this patch 2) Cancel a hold with a reason 4) Browse to holds history for the holds' patron 5) Note the reason shows in the status column if one was provided Working ok. Signed-off-by: Amit Gupta <amit.gupta@informaticsglobal.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
40393adc0f
commit
5c161c145b
|
|
@ -97,6 +97,9 @@
|
|||
Fulfilled
|
||||
[% ELSIF hold.cancellationdate %]
|
||||
Cancelled
|
||||
[% IF hold.cancellation_reason %]
|
||||
([% AuthorisedValues.GetByCode('HOLD_CANCELLATION', hold.cancellation_reason) %])
|
||||
[% END %]
|
||||
[% ELSIF hold.found == 'W' %]
|
||||
Waiting
|
||||
[% ELSIF hold.found == 'T' %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue