suggestions improvements and fixes
[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>Manage orders</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/aqbudgetperiods.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/suggestion.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
60         <!-- TMPL_IF name="loop_budget" -->
61
62             <h3>All available budgets<!-- TMPL_IF NAME="branchname" --> for <!-- TMPL_VAR NAME="branchname" --> branch<!-- /TMPL_IF  --></h3>
63
64     <!-- <a href="/cgi-bin/koha/admin/aqbookfund.pl" title="[ Manage funds ]">[ Manage ]</a>
65     <a href="/cgi-bin/koha/admin/budgetperiods.pl">manage budgets</a><br><br>  -->
66
67
68
69     <div id="BudgetsAndFunds">
70     <table id="accounts">
71         <thead>
72         <tr>
73             <th>Budget</th>
74             <th>Owner</th>
75             <th>Branch</th>
76             <th>Amount</th>
77             <th>Spent</th>
78             <th>Avail</th>
79         </tr>
80         </thead>
81         <tfoot>
82         <tr>
83             <th>Total</th>
84             <th>&nbsp;</th>
85             <th>&nbsp;</th>
86             <th align="right" ><!-- TMPL_VAR name="total" --></th>
87             <th align="right" ><!-- TMPL_VAR name="totspent" --></th>
88             <th align="right" ><!-- TMPL_VAR name="totavail" --></th>
89         </tr>
90         </tfoot>
91         <tbody>
92         <!-- TMPL_LOOP name="loop_budget" -->
93             <!--TMPL_IF name="toggle"-->
94                 <tr class="highlight">
95             <!--TMPL_ELSE-->
96                 <tr>
97             <!--/TMPL_IF-->
98                 <td align="center"><!-- TMPL_VAR name="budget_code" --></td>
99                 <td align="center"><!-- TMPL_VAR name="budget_owner" --></td>
100                 <td align="center"><!-- TMPL_VAR name="budget_branchname" --></td>
101                 <td align="right" ><!-- TMPL_VAR name="budget_amount" --></td>
102                 <td align="right" ><!-- TMPL_VAR name="budget_spent" --></td>
103                 <td align="right" ><!-- TMPL_VAR name="budget_avail" --></td>
104             </tr>
105         <!-- /TMPL_LOOP -->
106         </tbody>
107     </table>
108     </div>
109     <!-- /TMPL_IF -->
110
111     <div id="acqui_acqui_home_currency">
112     <!-- TMPL_IF NAME="loop_currency" -->
113         <h3>Exchange rates</h3>
114         <form action="/cgi-bin/koha/acqui/currency.pl">
115         <table>
116             <tr>
117                 <th>Currency</th>
118                 <th>Symbol</th>
119                 <th>Rate</th>
120                 <th>&nbsp;</th>
121             </tr>
122             <!-- TMPL_LOOP name="loop_currency" -->
123                 <tr>
124                     <td align='center'><!-- TMPL_VAR name="currency" --></td>
125                     <td align='center'><!-- TMPL_VAR name="currency_symbol" --></td>
126                     <td>
127                             <input type="hidden" name="type" value="change" />
128                             <input type="text" size="10" value="<!-- TMPL_VAR name="rate" -->" />
129                     </td>
130
131
132
133
134
135                     <td><input type="submit" value="Save" /></td>
136                 </tr>
137             <!-- /TMPL_LOOP -->
138         </table>
139         </form>
140     <!-- TMPL_ELSE -->
141         <a href="/cgi-bin/koha/admin/currency.pl?op=add_form" class="button">
142         Add Currency
143         </a>
144     <!-- /TMPL_IF -->
145     </div>
146 </div>
147
148 </div>
149 </div>
150 </div>
151 <div class="yui-b">
152 <!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
153 </div>
154 </div>
155 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->