Bug 25130: Reason for accepting/rejecting a suggestion is not visible when viewing (not editing)
The patch adds the suggestion management reason to the display when viewing a suggestion. To test: 1) Edit a suggestion and assign a reason for accepting it. 2) View the suggestion (/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=XX&op=show, replacing XX with your suggestion ID) 3) Under suggestion management, the reason you've just assigned does not display. 4) Apply the patch 5) Check the display again - the Reason should now be visible directly under the status. Signed-off-by: Abbey Holt <aholt@dubuque.lib.ia.us> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
0d4b8cf126
commit
0e0f09ba94
1 changed files with 6 additions and 0 deletions
|
@ -161,6 +161,12 @@
|
|||
[% END %]
|
||||
|
||||
</li>
|
||||
<li>
|
||||
<span class="label">Reason:</span>
|
||||
[% IF ( reason ) %]
|
||||
[% AuthorisedValues.GetByCode( 'SUGGEST', reason, 0 ) | html %]
|
||||
[% END %]
|
||||
</li>
|
||||
<li>
|
||||
<table>
|
||||
<thead><tr><th> </th><th>Date</th><th>By</th></tr></thead>
|
||||
|
|
Loading…
Reference in a new issue