From cb9b1638138f23e87fd3506c4764526276a29cdd Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 16 Apr 2023 14:01:10 +0000 Subject: [PATCH] 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 --- .../intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt index 3b1cc6e5f9..78678b6310 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt @@ -2,6 +2,7 @@ [% USE Branches %] [% USE Price %] [% USE Asset %] +[% USE AuthorisedValues %] [% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] @@ -53,6 +54,7 @@ Mine Suggestion + Document type Suggested by Accepted by Library @@ -79,6 +81,7 @@ [% IF ( suggestion.note ) %]

([% suggestion.note | html %])

[% END %]

+ [% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', suggestion.itemtype, 0 ) | html %] [% INCLUDE 'patron-title.inc' patron => suggestion.suggester %] [% INCLUDE 'patron-title.inc' patron => suggestion.manager %] -- 2.30.2