Bug 15044: Add date suggestion to OPAC suggestions table
To test: 1) Log in to OPAC, go to your purchase suggestions (opac-suggestions.pl) 2) Confirm there is now a 'Suggested on' column displaying the date of your past suggestions 3) Add a new purchase suggestion and confirm that the date displayed is correct Sponsored-by: Catalyst IT Signed-off-by: Marjorie <marjorie.barry-vila@ccsr.qc.ca> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
parent
47b516501e
commit
05a354f9e1
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
[% USE Koha %]
|
||||
[% USE AuthorisedValues %]
|
||||
[% USE KohaDates %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog ›
|
||||
[% IF ( op_add ) %]Enter a new purchase suggestion[% END %]
|
||||
|
@ -161,6 +162,7 @@
|
|||
<tr>
|
||||
[% IF ( loggedinusername ) %]<th> </th>[% END %]
|
||||
<th>Summary</th>
|
||||
<th>Suggested on</th>
|
||||
<th>Note</th>
|
||||
[% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]<th>Suggested for</th>[% END %]
|
||||
[% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]<th>Managed by</th>[% END %]
|
||||
|
@ -187,6 +189,9 @@
|
|||
[% IF ( suggestions_loo.itemtype ) %] - [% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', suggestions_loo.itemtype, 1 ) %][% END %]
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
[% IF ( suggestions_loo.suggesteddate ) %][% suggestions_loo.suggesteddate |$KohaDates %][% END %]
|
||||
</td>
|
||||
<td>
|
||||
[% IF ( suggestions_loo.note ) %]
|
||||
<span class="tdlabel">Note: </span>
|
||||
|
|
Loading…
Reference in a new issue