Bug 11665: An ability to place orders directly from hold ratios list
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / acquisitions-add-to-basket.inc
index 01ecec9..8e2961b 100644 (file)
@@ -1,13 +1,14 @@
-<fieldset id="acqui_basket_add">
+<fieldset class="acqui_basket_add">
     <legend>Add order to basket</legend>
     [% IF has_budgets %]
       <ul>
         <li>
-          <label for="q">From an existing record: </label>
           <form action="/cgi-bin/koha/acqui/neworderbiblio.pl" method="post">
+            <label>From an existing record:
+                <input type="text"  size="25" name="q" />
+            </label>
             <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
             <input type="hidden" name="basketno" value="[% basketno %]" />
-            <input id="q" type="text"  size="25" name="q" />
             <input type="submit" class="submit" value="Search" />
           </form>
         </li>
         <li><a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]">From a new (empty) record</a></li>
         <li><a href="/cgi-bin/koha/acqui/z3950_search.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]">From an external source</a></li>
         <li><a href="/cgi-bin/koha/acqui/addorderiso2709.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]"> From a staged file</a></li>
+        [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/reserveratios.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]">From titles with highest hold ratios</a></li>[% END %]
       </ul>
     [% 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>.
+        <div class="dialog alert">
+          <p>You can't create any orders unless you first <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">define a budget and a fund</a>.</p>
+        </div>
     [% END %]
 </fieldset>