Merge branch 'new/bug_4330' into kcmaster
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / acquisitions-add-to-basket.inc
index 12a2ead..9fe6c05 100644 (file)
@@ -1,5 +1,6 @@
 <fieldset id="acqui_basket_add">
     <legend>Add Order To Basket</legend>
+    [% IF has_budgets %]
     <form action="/cgi-bin/koha/acqui/neworderbiblio.pl" method="post">
         <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
         <input type="hidden" name="basketno" value="[% basketno %]" />
@@ -11,4 +12,7 @@
         <li><a href="/cgi-bin/koha/acqui/addorderiso2709.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]"> From a staged file</a></li>
         </ul>
     </form>
+    [% ELSE %]
+        You can't create any orders unless you first <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">define a budget and a fund</a>.
+    [% END %]
 </fieldset>
\ No newline at end of file