Bug 23596: (follow-up) Add missing use statement and set correct variable name
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 17 Feb 2020 16:21:03 +0000 (17:21 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 14 Apr 2020 15:30:30 +0000 (16:30 +0100)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt

index 9671bfe..049ff6f 100644 (file)
@@ -2,6 +2,7 @@
 [% USE Asset %]
 [% USE KohaDates %]
 [% USE Branches %]
+[% USE AuthorisedValues %]
 [% USE Price %]
 [% SET footerjs = 1 %]
 [% INCLUDE 'doc-head-open.inc' %]
@@ -52,7 +53,7 @@
             [% IF suggestion.reason %]
                 <li>
                     <span class="label">Reason:</span>
-                    [% SET avs = AuthorisedValues.GetAuthValueDropbox( 'SUGGEST' ) %]
+                    [% SET suggestion_reasons = AuthorisedValues.GetAuthValueDropbox( 'SUGGEST' ) %]
                     [% SET other_reason = 1 %]
                     <select class="select-reason" id="reason" name="reason">
                         <option value=""> -- Choose a reason -- </option>