Bug 33541: Add document type to list of suggestions when ordering
This adds the document type (suggestions.itemtype) to the list of accepted suggestions when creating an order from a suggestion. To test: * Add some suggestions and make sure to pick different document types. * Accept those suggestions in the staff interface. * Go to acquisitions * Create a basket * Add an 'order from a suggestion' * Verify that the list shows the 'document type' nicely and correctly * Order one, all good? sign off. Signed-off-by: Juliet <jheltibridle@rcplib.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Removed IS_OPAC param from AuthorisedValues.GetByCode Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
30475943d7
commit
0985e97589
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
[% USE Branches %]
|
||||
[% USE Price %]
|
||||
[% USE Asset %]
|
||||
[% USE AuthorisedValues %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
|
@ -46,6 +47,7 @@
|
|||
<tr>
|
||||
<th>Mine</th>
|
||||
<th>Suggestion</th>
|
||||
<th>Document type</th>
|
||||
<th>Suggested by</th>
|
||||
<th>Accepted by</th>
|
||||
<th>Library</th>
|
||||
|
@ -72,6 +74,7 @@
|
|||
[% IF ( suggestion.note ) %]<p><em>([% suggestion.note | html %])</em></p> [% END %]
|
||||
</p>
|
||||
</td>
|
||||
<td>[% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', suggestion.itemtype ) | html %]</td>
|
||||
<td>[% INCLUDE 'patron-title.inc' patron => suggestion.suggester %]</td>
|
||||
<td>[% INCLUDE 'patron-title.inc' patron => suggestion.manager %]</td>
|
||||
<td>
|
||||
|
|
Loading…
Reference in a new issue