MT 2348 : acqui-home minor improvements
[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>
47
48 <div class="yui-u">
49
50         <!-- TMPL_IF name="loop_budget" -->
51
52             <h3>All available funds<!-- TMPL_IF NAME="branchname" --> for <!-- TMPL_VAR NAME="branchname" --> branch<!-- /TMPL_IF  --></h3>
53
54     <!-- <a href="/cgi-bin/koha/admin/aqbookfund.pl" title="[ Manage funds ]">[ Manage ]</a>
55     <a href="/cgi-bin/koha/admin/budgetperiods.pl">manage budgets</a><br><br>  -->
56
57
58
59     <div id="BudgetsAndFunds">
60     <table id="accounts">
61         <thead>
62         <tr>
63             <th>Fund</th>
64             <th>Owner</th>
65             <th>Branch</th>
66             <th>Amount</th>
67             <th>Ordered</th>
68             <th>Spent</th>
69             <th>Avail</th>
70         </tr>
71         </thead>
72         <tfoot>
73         <tr>
74             <th>Total</th>
75             <th>&nbsp;</th>
76             <th>&nbsp;</th>
77             <th align="right" ><!-- TMPL_VAR name="total" --></th>
78             <th align="right" ><!-- TMPL_VAR name="totordered" --></th>
79             <th align="right" ><!-- TMPL_VAR name="totspent" --></th>
80             <th align="right" ><!-- TMPL_VAR name="totavail" --></th>
81         </tr>
82         </tfoot>
83         <tbody>
84         <!-- TMPL_LOOP name="loop_budget" -->
85             <!--TMPL_IF name="toggle"-->
86                 <tr class="highlight">
87             <!--TMPL_ELSE-->
88                 <tr>
89             <!--/TMPL_IF-->
90                 <td align="center"><!-- TMPL_VAR name="budget_code" --></td>
91                 <td align="center"><!-- TMPL_VAR name="budget_owner" --></td>
92                 <td align="center"><!-- TMPL_VAR name="budget_branchname" --></td>
93                 <td align="right" ><!-- TMPL_VAR name="budget_amount" --></td>
94                 <td align="right" ><!-- TMPL_VAR name="budget_ordered" --></td>
95                 <td align="right" ><!-- TMPL_VAR name="budget_spent" --></td>
96                 <td align="right" ><!-- TMPL_VAR name="budget_avail" --></td>
97             </tr>
98         <!-- /TMPL_LOOP -->
99         </tbody>
100     </table>
101     </div>
102     <!-- /TMPL_IF -->
103 </div>
104
105 </div>
106 </div>
107 </div>
108 <div class="yui-b">
109 <!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
110 </div>
111 </div>
112 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->