Bug5940: Authority, Labels, Circ help files for 3.4
[koha_gimpoz] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / acqui-home.tmpl
index 6078e1f..02f5f22 100644 (file)
 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
 <title>Koha &rsaquo; Acquisitions</title>
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
-<!-- TMPL_INCLUDE NAME="menus.inc" -->
-<!-- TMPL_INCLUDE NAME="menu-acqui.inc" -->
+</head>
+<body>
+<!-- TMPL_INCLUDE NAME="header.inc" -->
+<!-- TMPL_INCLUDE NAME="acquisitions-search.inc" -->
+
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; </div>
+
+<div id="doc3" class="yui-t2">
+
+<div id="bd">
+    <div id="yui-main">
+    <div class="yui-b">
+
+<!-- TMPL_INCLUDE NAME="acquisitions-toolbar.inc" -->
 
 <h1>Acquisitions</h1>
+<div class="yui-g">
+<div class="yui-u first">
 <div id="acqui_acqui_home_order">
     <fieldset>
-        <legend>Start, recieve, or modify any order</legend>
+        <legend>Manage orders</legend>
     <!-- TMPL_IF name="nobudget" -->
-        <span class="problem">You must define a budget in parameters</span>
+        <!-- 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 -->
         <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
-            <p><label for="supplier">Supplier </label><input type="text" size="25" name="supplier" id="supplier" />
+            <p><label for="supplierpage">Vendor </label><input type="text" size="25" name="supplier" id="supplierpage" class="focus" />
             <input type="submit" value="Search" />
             </p>
         </form>
     <!-- TMPL_ELSE -->
         <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
-            <p><label for="supplier">Supplier </label><input type="text" size="25" name="supplier" id="supplier" />
+            <p><label for="supplierpage">Vendor: </label><input type="text" size="25" name="supplier" id="supplierpage" class="focus" />
             <input type="submit" value="Search" />
             </p>
         </form>
+
     <!-- /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 -->
+        <p><!--TMPL_VAR NAME="suggestions_count" --> suggestions waiting. <a href="/cgi-bin/koha/suggestion/suggestion.pl">Manage suggestions</a>.</p>
     </fieldset>
+</div><!-- /TMPL_IF --><!-- /TMPL_IF -->
+
 </div>
 
+<div class="yui-u">
+
+        <!-- TMPL_IF name="loop_budget" -->
+
+            <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>  -->
+
 
-<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>Rate</th>
-        </tr>
-        <!-- TMPL_LOOP name="loop_currency" -->
-            <tr>
-                <td>
-                    <label for="<!-- TMPL_VAR name="currency" -->"><!-- TMPL_VAR name="currency" --></label>
-                </td>
-                <td>
-                        <input type="hidden" name="type" value="change" />
-                        <input type="text" size="10" id="<!-- TMPL_VAR name="currency" -->" name="<!-- TMPL_VAR name="currency" -->" value="<!-- TMPL_VAR name="rate" -->" />
-                </td>
-            </tr>
-        <!-- /TMPL_LOOP -->
-    </table>
-    <input type="submit" value="Save Exchange Rate" />
-    </form>
-<!-- TMPL_ELSE -->
-    <a href="/cgi-bin/koha/admin/currency.pl?op=add_form" class="button">
-    Add Currency
-    </a>
-<!-- /TMPL_IF -->
-</div>
 
-    <!-- TMPL_IF name="nobudget" -->
-    <!-- TMPL_ELSE -->
-    <h2>Budgets and Funds</h2>
-    <a href="/cgi-bin/koha/admin/aqbookfund.pl" title="[ Manage Bookfunds ]">[ Manage ]</a>
     <div id="BudgetsAndFunds">
     <table id="accounts">
         <thead>
         <tr>
-            <th>Budgets</th>
-            <th>Total</th>
+            <th>Fund</th>
+            <th>Owner</th>
+            <th>Branch</th>
+            <th>Amount</th>
+            <th>Ordered</th>
             <th>Spent</th>
-            <th>Comtd</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" -->
-            <tr>
-                <td><!-- TMPL_VAR name="bookfundname" --></td>
-                <td><!-- TMPL_VAR name="budgetamount" --></td>
-                <td><!-- TMPL_VAR name="spent" --></td>
-                <td><!-- TMPL_VAR name="comtd" --></td>
-                <td><!-- TMPL_VAR name="avail" --></td>
+            <!--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 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>
-        <tfooter>
-        <tr>
-            <th>Total</td>
-            <th><!-- TMPL_VAR name="total" --></th>
-            <th><!-- TMPL_VAR name="totspent" --></th>
-            <th><!-- TMPL_VAR name="totcomtd" --></th>
-            <th><!-- TMPL_VAR name="totavail" --></th>
-        </tr>
-        </tfooter>
     </table>
     </div>
     <!-- /TMPL_IF -->
-<div id="acqui_acqui_home_hints">
-    <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>
-    
-    <h2>Help</h2>
-    <p>To start an acquisition, whether an order, local purchase or donation first search on the supplier, you will be asked to check their details, and enter your name which  will set up a "shopping basket" for you. (Why is this you might ask... well because we want to know that it's really you ordering things - not just your computer).</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 then add the item.  </p>
-    <p>To start a new shopping basket with a new supplier return to this page and just start a new supplier search.</p>
-    <p>To close off a shopping basket click on "view shopping baskets" or search above, and the click on "confirm basket".</p>
 </div>
 
-<script type="text/JavaScript">
-    document.findsupplier.supplier.focus();
-</script>
-
-<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->
+</div>
+</div>
+</div>
+<div class="yui-b">
+<!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
+</div>
+</div>
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->