Moving inline script blocks to <head> where possible
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / acqui-home.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Acquisitions</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/JavaScript">
5     document.findsupplier.supplier.focus();
6 </script>
7 </head>
8 <body>
9 <!-- TMPL_INCLUDE NAME="header.inc" -->
10 <!-- TMPL_INCLUDE NAME="menu-acqui.inc" -->
11
12
13 <div id="doc3" class="yui-t2">
14    
15    <div id="bd">
16         <div id="yui-main">
17         <div class="yui-b"><div class="yui-g">
18
19 <h1>Acquisitions</h1>
20 <div id="acqui_acqui_home_order">
21     <fieldset>
22         <legend>Start, recieve, or modify any order</legend>
23     <!-- TMPL_IF name="nobudget" -->
24         <span class="problem">You must <a href="/cgi-bin/koha/admin/aqbookfund.pl">define a budget</a> in parameters</span>
25         <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
26             <p><label for="supplier">Supplier </label><input type="text" size="25" name="supplier" id="supplier" />
27             <input type="submit" value="Search" />
28             </p>
29         </form>
30     <!-- TMPL_ELSE -->
31         <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
32             <p><label for="supplier">Supplier </label><input type="text" size="25" name="supplier" id="supplier" />
33             <input type="submit" value="Search" />
34             </p>
35         </form>
36     <!-- /TMPL_IF -->
37     </fieldset>
38 </div>
39 <div id="acqui_acqui_home_suggestions">
40     <fieldset>
41     <legend>Pending suggestions</legend>
42         <!-- TMPL_IF name="suggestion" -->
43             <!--TMPL_VAR NAME="suggestion" --> suggestions waiting <a href="/cgi-bin/koha/suggestion/acceptorreject.pl">Manage suggestions</a>
44         <!-- TMPL_ELSE -->
45             <p>No suggestions waiting</p>
46         <!-- /TMPL_IF -->
47     </fieldset>
48 </div>
49
50
51 <div id="acqui_acqui_home_currency">
52 <!-- TMPL_IF NAME="loop_currency" -->
53     <h2>Exchange rates</h2>
54     <form action="/cgi-bin/koha/acqui/currency.pl">
55     <table>
56         <tr>
57             <th>Currency</th>
58             <th>Rate</th>
59         </tr>
60         <!-- TMPL_LOOP name="loop_currency" -->
61             <tr>
62                 <td>
63                     <label for="<!-- TMPL_VAR name="currency" -->"><!-- TMPL_VAR name="currency" --></label>
64                 </td>
65                 <td>
66                         <input type="hidden" name="type" value="change" />
67                         <input type="text" size="10" id="<!-- TMPL_VAR name="currency" -->" name="<!-- TMPL_VAR name="currency" -->" value="<!-- TMPL_VAR name="rate" -->" />
68                 </td>
69             </tr>
70         <!-- /TMPL_LOOP -->
71     </table>
72     <input type="submit" value="Save Exchange Rate" />
73     </form>
74 <!-- TMPL_ELSE -->
75     <a href="/cgi-bin/koha/admin/currency.pl?op=add_form" class="button">
76     Add Currency
77     </a>
78 <!-- /TMPL_IF -->
79 </div>
80
81     <!-- TMPL_IF name="nobudget" -->
82     <!-- TMPL_ELSE -->
83     <h2>Budgets and Funds</h2>
84     <a href="/cgi-bin/koha/admin/aqbookfund.pl" title="[ Manage Bookfunds ]">[ Manage ]</a>
85     <div id="BudgetsAndFunds">
86     <table id="accounts">
87         <thead>
88         <tr>
89             <th>Budgets</th>
90             <th>Total</th>
91             <th>Spent</th>
92             <th>Comtd</th>
93             <th>Avail</th>
94         </tr>
95         </thead>
96         <tbody>
97         <!-- TMPL_LOOP name="loop_budget" -->
98             <tr>
99                 <td><!-- TMPL_VAR name="bookfundname" --></td>
100                 <td><!-- TMPL_VAR name="budgetamount" --></td>
101                 <td><!-- TMPL_VAR name="spent" --></td>
102                 <td><!-- TMPL_VAR name="comtd" --></td>
103                 <td><!-- TMPL_VAR name="avail" --></td>
104             </tr>
105         <!-- /TMPL_LOOP -->
106         </tbody>
107         <tfooter>
108         <tr>
109             <th>Total</td>
110             <th><!-- TMPL_VAR name="total" --></th>
111             <th><!-- TMPL_VAR name="totspent" --></th>
112             <th><!-- TMPL_VAR name="totcomtd" --></th>
113             <th><!-- TMPL_VAR name="totavail" --></th>
114         </tr>
115         </tfooter>
116     </table>
117     </div>
118     <!-- /TMPL_IF -->
119 <div id="acqui_acqui_home_hints">
120     <p>Use your reload button [ctrl + r] to get the most recent figures.
121     Committed figures are approximate only, as exchange rates will affect the amount actually paid.</p>
122     
123     <h2>Help</h2>
124     <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>
125     <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>
126     <p>To start a new shopping basket with a new supplier return to this page and just start a new supplier search.</p>
127     <p>To close off a shopping basket click on "view shopping baskets" or search above, and the click on "confirm basket".</p>
128 </div>
129
130 </div>
131 </div>
132 </div>
133
134 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
135 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->