87365b57f7e4d495e97f90a13fd54f53c57af68b
[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 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="acquisitions-search.inc" -->
8
9 <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>
10
11 <div id="doc3" class="yui-t2">
12    
13    <div id="bd">
14         <div id="yui-main">
15         <div class="yui-b">
16
17 <!-- TMPL_INCLUDE NAME="acquisitions-toolbar.inc" -->
18
19 <h1>Acquisitions</h1>
20 <div class="yui-g">
21 <div class="yui-u first">
22 <div id="acqui_acqui_home_order">
23     <fieldset>
24         <legend>Start, receive, or modify any order</legend>
25     <!-- TMPL_IF name="nobudget" -->
26                 <!-- TMPL_IF NAME="CAN_user_parameters" -->
27         <span class="problem">You must <a href="/cgi-bin/koha/admin/aqbookfund.pl">define a budget</a> in Administration</span>
28                 <!-- TMPL_ELSE -->
29                 <span class="problem">Your administrator must define a budget in Administration</span>
30                 <!-- /TMPL_IF -->
31         <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
32             <p><label for="supplierpage">Vendor </label><input type="text" size="25" name="supplier" id="supplierpage" class="focus" />
33             <input type="submit" value="Search" />
34             </p>
35         </form>
36     <!-- TMPL_ELSE -->
37         <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
38             <p><label for="supplierpage">Vendor: </label><input type="text" size="25" name="supplier" id="supplierpage" class="focus" />
39             <input type="submit" value="Search" />
40             </p>
41         </form>
42                 
43     <!-- /TMPL_IF -->
44     </fieldset>
45 </div>
46 <div id="acqui_acqui_home_suggestions">
47     <fieldset>
48     <legend>Pending suggestions</legend>
49         <!-- TMPL_IF name="suggestion" -->
50             <!--TMPL_VAR NAME="suggestion" --> suggestions waiting <a href="/cgi-bin/koha/suggestion/acceptorreject.pl">Manage suggestions</a>
51         <!-- TMPL_ELSE -->
52             <p>No suggestions waiting</p>
53         <!-- /TMPL_IF -->
54     </fieldset>
55 </div>
56 </div>
57
58 <div class="yui-u">
59     <!-- TMPL_IF name="nobudget" -->
60     <!-- TMPL_ELSE -->
61     <h2>Funds and Budgets</h2>
62     <a href="/cgi-bin/koha/admin/aqbookfund.pl" title="[ Manage funds ]">[ Manage ]</a>
63     <div id="BudgetsAndFunds">
64     <table id="accounts">
65         <thead>
66         <tr>
67             <th>Budgets</th>
68             <th>Total</th>
69             <th>Spent</th>
70             <th>Comtd</th>
71             <th>Avail</th>
72         </tr>
73         </thead>
74         <tbody>
75         <!-- TMPL_LOOP name="loop_budget" -->
76             <tr>
77                 <td><!-- TMPL_VAR name="bookfundname" --></td>
78                 <td><a href="/cgi-bin/koha/admin/aqbudget.pl?op=add_form&amp;aqbudgetid=<!--TMPL_VAR NAME="aqbudgetid"-->"><!-- TMPL_VAR name="budgetamount" --></a></td>
79                 <td><a href="/cgi-bin/koha/acqui/spent.pl?bookfund=<!--TMPL_VAR NAME="bookfundid"-->&amp;start=<!--TMPL_VAR NAME="sdate"-->&amp;end=<!-- TMPL_VAR NAME="edate"-->"><!-- TMPL_VAR name="spent" --></a></td>
80                 <td><a href="/cgi-bin/koha/acqui/bookfund.pl?bookfund=<!--TMPL_VAR NAME="bookfundid"-->&amp;start=<!--TMPL_VAR NAME="sdate"-->&amp;end=<!-- TMPL_VAR NAME="edate"-->"><!-- TMPL_VAR name="comtd" --></a></td>
81                 <td><!-- TMPL_VAR name="avail" --></td>
82             </tr>
83         <!-- /TMPL_LOOP -->
84         </tbody>
85         <tfoot>
86         <tr>
87             <th>Total</th>
88             <th><!-- TMPL_VAR name="total" --></th>
89             <th><!-- TMPL_VAR name="totspent" --></th>
90             <th><!-- TMPL_VAR name="totcomtd" --></th>
91             <th><!-- TMPL_VAR name="totavail" --></th>
92         </tr>
93         </tfoot>
94     </table>
95     </div>
96     <p>Use your reload button [ctrl + r] to get the most recent figures.
97     Committed figures are approximate only, as exchange rates will affect the amount actually paid.</p>
98     <!-- /TMPL_IF -->
99     <div id="acqui_acqui_home_currency">
100     <!-- TMPL_IF NAME="loop_currency" -->
101         <h2>Exchange rates</h2>
102         <form action="/cgi-bin/koha/acqui/currency.pl">
103         <table>
104             <tr>
105                 <th>Currency</th>
106                 <th>Rate</th>
107                 <th>&nbsp;</th>
108             </tr>
109             <!-- TMPL_LOOP name="loop_currency" -->
110                 <tr>
111                     <td>
112                         <label for="<!-- TMPL_VAR name="currency" -->"><!-- TMPL_VAR name="currency" --></label>
113                     </td>
114                     <td>
115                             <input type="hidden" name="type" value="change" />
116                             <input type="text" size="10" id="<!-- TMPL_VAR name="currency" -->" name="<!-- TMPL_VAR name="currency" -->" value="<!-- TMPL_VAR name="rate" -->" />
117                     </td>
118                     <td><input type="submit" value="Save" /></td>
119                 </tr>
120             <!-- /TMPL_LOOP -->
121         </table>
122         </form>
123     <!-- TMPL_ELSE -->
124         <a href="/cgi-bin/koha/admin/currency.pl?op=add_form" class="button">
125         Add Currency
126         </a>
127     <!-- /TMPL_IF -->
128     </div>
129 </div>
130     
131 </div>
132
133 <div id="acqui_acqui_home_hints">
134     <h2>Help</h2>
135     <p>To begin an order, local purchase or donation, search for the vendor or benefactor, and then you can create a new Basket.</p>
136     <p>A Basket is a collection of orders.</p>
137     <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>
138 </div>
139
140 </div>
141 </div>
142 <div class="yui-b">
143 <!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
144 </div>
145 </div>
146 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->