Bug5940: Authority, Labels, Circ help files for 3.4
[koha_gimpoz] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / acqui-home.tmpl
index 0986d79..02f5f22 100644 (file)
@@ -10,9 +10,9 @@
 
 <div id="doc3" class="yui-t2">
 
-   <div id="bd">
-       <div id="yui-main">
-       <div class="yui-b">
+<div id="bd">
+    <div id="yui-main">
+    <div class="yui-b">
 
 <!-- TMPL_INCLUDE NAME="acquisitions-toolbar.inc" -->
 
 <div class="yui-u first">
 <div id="acqui_acqui_home_order">
     <fieldset>
-        <legend>Start, receive, or modify any order</legend>
+        <legend>Manage orders</legend>
     <!-- TMPL_IF name="nobudget" -->
-               <!-- TMPL_IF NAME="CAN_user_parameters" -->
+        <!-- TMPL_IF NAME="CAN_user_parameters" -->
         <span class="problem">You must <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">define a budget</a> in Administration</span>
-               <!-- TMPL_ELSE -->
-               <span class="problem">Your administrator must define a budget in Administration</span>
-               <!-- /TMPL_IF -->
+        <!-- TMPL_ELSE -->
+        <span class="problem">Your administrator must define a budget in Administration</span>
+        <!-- /TMPL_IF -->
         <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
             <p><label for="supplierpage">Vendor </label><input type="text" size="25" name="supplier" id="supplierpage" class="focus" />
             <input type="submit" value="Search" />
     <!-- /TMPL_IF -->
     </fieldset>
 </div>
+
+<!-- TMPL_IF NAME="suggestion" --><!-- TMPL_IF name="suggestions_count" -->
 <div id="acqui_acqui_home_suggestions">
     <fieldset>
     <legend>Pending suggestions</legend>
-        <!-- TMPL_IF name="suggestion" -->
-            <!--TMPL_VAR NAME="suggestion" --> suggestions waiting <a href="/cgi-bin/koha/suggestion/acceptorreject.pl">Manage suggestions</a>
-        <!-- TMPL_ELSE -->
-            <p>No suggestions waiting</p>
-        <!-- /TMPL_IF -->
-    <br>
-    <br>
-    <table>
-        <thead>
-            <tr>
-                <th>Book fund group</th>
-                <th>number of <br>waiting sugg.</th>
-                <th></th>
-            </tr>
-        </thead>
-
-        <tbody>
-        <!-- TMPL_LOOP name="bookfundgroup_loop" -->
-            <tr>
-                <td><!-- TMPL_VAR name="bookfundgroupname" --></td>
-                <td><!-- TMPL_VAR name="nowsuggestions" --></td>
-                <td><a href="/cgi-bin/koha/suggestion/acceptorrejectpd.pl?bookfundgroupnumber=<!-- TMPL_VAR name="bookfundgroupnumber" -->">manage</a></td>
-            </tr>
-        <!-- /TMPL_LOOP -->
-        </tbody>
-    </table>
-
+        <p><!--TMPL_VAR NAME="suggestions_count" --> suggestions waiting. <a href="/cgi-bin/koha/suggestion/suggestion.pl">Manage suggestions</a>.</p>
     </fieldset>
-</div>
+</div><!-- /TMPL_IF --><!-- /TMPL_IF -->
+
 </div>
 
 <div class="yui-u">
 
         <!-- TMPL_IF name="loop_budget" -->
 
-            <h3>All available budgets<!-- TMPL_IF NAME="branchname" --> for <!-- TMPL_VAR NAME="branchname" --> branch<!-- /TMPL_IF  --></h3>
+            <h3>All available funds<!-- TMPL_IF NAME="branchname" --> for <!-- TMPL_VAR NAME="branchname" --> branch<!-- /TMPL_IF  --></h3>
 
     <!-- <a href="/cgi-bin/koha/admin/aqbookfund.pl" title="[ Manage funds ]">[ Manage ]</a>
     <a href="/cgi-bin/koha/admin/budgetperiods.pl">manage budgets</a><br><br>  -->
     <table id="accounts">
         <thead>
         <tr>
-            <th>Budget</th>
+            <th>Fund</th>
             <th>Owner</th>
             <th>Branch</th>
             <th>Amount</th>
+            <th>Ordered</th>
             <th>Spent</th>
             <th>Avail</th>
         </tr>
         </thead>
+        <tfoot>
+        <tr>
+            <th>Total</th>
+            <th>&nbsp;</th>
+            <th>&nbsp;</th>
+            <th align="right" ><!-- TMPL_VAR name="total" --></th>
+            <th align="right" ><!-- TMPL_VAR name="totordered" --></th>
+            <th align="right" ><!-- TMPL_VAR name="totspent" --></th>
+            <th align="right" ><!-- TMPL_VAR name="totavail" --></th>
+        </tr>
+        </tfoot>
         <tbody>
-
-
         <!-- TMPL_LOOP name="loop_budget" -->
-
-   <!--TMPL_IF name="toggle"-->
-      <tr class="highlight">
-      <!--TMPL_ELSE-->
-      <tr>
-      <!--/TMPL_IF-->
-
+            <!--TMPL_IF NAME="__odd__" -->
+                <tr>
+            <!--TMPL_ELSE-->
+                <tr class="highlight">
+            <!--/TMPL_IF-->
                 <td align="center"><!-- TMPL_VAR name="budget_code" --></td>
                 <td align="center"><!-- TMPL_VAR name="budget_owner" --></td>
                 <td align="center"><!-- TMPL_VAR name="budget_branchname" --></td>
-                <td><p  align="right" ><!-- TMPL_VAR name="budget_amount" --></p> </td>
-                <td><p  align="right" ><!-- TMPL_VAR name="budget_spent" --></p> </td>
-                <td><p  align="right" ><!-- TMPL_VAR name="budget_avail" --></p> </td>
-
+                <td align="right" ><!-- TMPL_VAR name="budget_amount" --></td>
+                <td align="right" ><!-- TMPL_VAR name="budget_ordered" --></td>
+                <td align="right" ><!-- TMPL_VAR name="budget_spent" --></td>
+                <td align="right" ><!-- TMPL_VAR name="budget_avail" --></td>
             </tr>
         <!-- /TMPL_LOOP -->
         </tbody>
-
-        <tfoot>
-        <tr>
-            <th>Total</th>
-                <td>
-                <td>
-            <th><p  align="right" ><!-- TMPL_VAR name="total" --></p> </th>
-            <th><p  align="right" ><!-- TMPL_VAR name="totspent" --></p> </th>
-            <th><p  align="right" ><!-- TMPL_VAR name="totavail" --></p> </th>
-        </tr>
-        </tfoot>
     </table>
     </div>
-
-
-    <p>Use your reload button [ctrl + r] to get the most recent figures.
-    Committed figures are approximate only, as exchange rates will affect the amount actually paid.</p>
-    <!-- /TMPL_IF -->
-
-
-
-    <div id="acqui_acqui_home_currency">
-    <!-- TMPL_IF NAME="loop_currency" -->
-        <h2>Exchange rates</h2>
-        <form action="/cgi-bin/koha/acqui/currency.pl">
-        <table>
-            <tr>
-                <th>Currency</th>
-                <th>Symbol</th>
-                <th>Rate</th>
-                <th>&nbsp;</th>
-            </tr>
-            <!-- TMPL_LOOP name="loop_currency" -->
-                <tr>
-                    <td align='center'><!-- TMPL_VAR name="currency" --></td>
-                    <td align='center'><!-- TMPL_VAR name="currency_symbol" --></td>
-                    <td>
-                            <input type="hidden" name="type" value="change" />
-                            <input type="text" size="10" value="<!-- TMPL_VAR name="rate" -->" />
-                    </td>
-
-
-
-
-
-                    <td><input type="submit" value="Save" /></td>
-                </tr>
-            <!-- /TMPL_LOOP -->
-        </table>
-        </form>
-    <!-- TMPL_ELSE -->
-        <a href="/cgi-bin/koha/admin/currency.pl?op=add_form" class="button">
-        Add Currency
-        </a>
     <!-- /TMPL_IF -->
-    </div>
 </div>
 
 </div>
-
-<div id="acqui_acqui_home_hints">
-    <h2>Help</h2>
-    <p>To begin an order, local purchase or donation, search for the vendor or benefactor, and then you can create a new Basket.</p>
-    <p>A Basket is a collection of orders.</p>
-    <p>To order an item you need to establish whether a biblio already exists for it, and either add an item, or set up a new biblio and then add the item.</p>
-</div>
-
 </div>
 </div>
 <div class="yui-b">