From 46d6ad98e92e494a031c527b960d20cb2e47e39d 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. --- .../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 817e0eddd2..c81f974d2b 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' %] @@ -46,6 +47,7 @@ Mine Suggestion + Document type Suggested by Accepted by Library @@ -72,6 +74,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