1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Acquisitions</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript">
6 $(document).ready(function() {
7 $('#showallbudgets').click(function() {
8 if ( $('#showallbudgets:checked').val() !== undefined) {
9 $('.b_inactive').show();
10 $('#b_inactive').show();
11 $('.bu_active').show();
12 $('.bu_inactive').hide();
15 $('.b_inactive').hide();
16 $('#b_inactive').hide();
17 $('.bu_inactive').show();
18 $('.bu_active').hide();
26 <body id="acq_acqui-home" class="acq">
27 [% INCLUDE 'header.inc' %]
28 [% INCLUDE 'acquisitions-search.inc' %]
30 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › </div>
32 <div id="doc3" class="yui-t2">
38 [% INCLUDE 'acquisitions-toolbar.inc' %]
42 <div class="yui-u first">
43 <div id="acqui_acqui_home_order">
45 [% UNLESS ( loop_budget ) %]
46 [% IF ( CAN_user_parameters ) %]
47 <div class="dialog alert">You must <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">define a budget</a> in Administration</div>
49 <div class="dialog alert">Your administrator must define a budget in Administration</div>
54 <legend>Manage orders</legend>
55 <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
56 <p><label for="supplierpage">Vendor: </label><input type="text" size="25" name="supplier" id="supplierpage" class="focus" />
57 <input type="submit" value="Search" />
63 [% IF ( suggestion ) %][% IF ( suggestions_count ) %]
64 <div id="acqui_acqui_home_suggestions">
66 <legend>Pending suggestions</legend>
67 <p>[% suggestions_count %] suggestions waiting. <a href="/cgi-bin/koha/suggestion/suggestion.pl">Manage suggestions</a>.</p>
69 </div>[% END %][% END %]
75 [% IF ( loop_budget ) %]
77 <h3>All available funds[% IF ( branchname ) %] for [% branchname %] library[% END %]</h3>
79 <!-- <a href="/cgi-bin/koha/admin/aqbookfund.pl" title="[ Manage funds ]">[ Manage ]</a>
80 <a href="/cgi-bin/koha/admin/budgetperiods.pl">manage budgets</a><br><br> -->
84 <div id="BudgetsAndFunds">
97 <tfoot id="funds_total">
102 <th align="right" ><span class="bu_active" style="display : none;">[% total %]</span><span class="bu_inactive" >[% total_active %]</span></th>
103 <th align="right" ><span class="bu_active" style="display : none;">[% totordered %]</span><span class="bu_inactive" >[% totordered_active %]</span></th>
104 <th align="right" ><span class="bu_active" style="display : none;">[% totspent %]</span><span class="bu_inactive" >[% totspent_active %]</span></th>
105 <th align="right" ><span class="bu_active" style="display : none;">[% totavail %]</span><span class="bu_inactive" >[% totavail_active %]</span></th>
109 [% FOREACH loop_budge IN loop_budget %]
110 [% IF ( loop_budge.budget_period_active ) %]
111 [% IF ( loop.odd ) %]
114 <tr class="highlight">
116 <td align="center">[% loop_budge.budget_code %]</td>
117 <td align="center">[% loop_budge.budget_owner %]</td>
118 <td align="center">[% loop_budge.budget_branchname %]</td>
119 <td align="right" >[% loop_budge.budget_amount %]</td>
120 <td align="right" ><a href="ordered.pl?fund=[% loop_budge.budget_id %]&fund_code=[% loop_budge.budget_code %]">[% loop_budge.budget_ordered %]</a></td>
121 <td align="right" ><a href="spent.pl?fund=[% loop_budge.budget_id %]&fund_code=[% loop_budge.budget_code %]">[% loop_budge.budget_spent %]</a></td>
122 <td align="right" >[% loop_budge.budget_avail %]</td>
125 [% IF ( loop.odd ) %]
126 <tr class="b_inactive" style="display : none;">
128 <tr class="highlight" id = "b_inactive" style="display : none;">
130 <td align="center" >[% loop_budge.budget_code %]</td>
131 <td align="center">[% loop_budge.budget_owner %]</td>
132 <td align="center">[% loop_budge.budget_branchname %]</td>
133 <td align="right" >[% loop_budge.budget_amount %]</td>
134 <td align="right" ><a href="ordered.pl?fund=[% loop_budge.budget_id %]&fund_code=[% loop_budge.budget_code %]">[% loop_budge.budget_ordered %]</a></td>
135 <td align="right" ><a href="spent.pl?fund=[% loop_budge.budget_id %]&fund_code=[% loop_budge.budget_code %]">[% loop_budge.budget_spent %]</a></td>
136 <td align="right" >[% loop_budge.budget_avail %]</td>
141 </div><span class="label">Show all : </span><input type="checkbox" id="showallbudgets" />
149 [% INCLUDE 'acquisitions-menu.inc' %]
152 [% INCLUDE 'intranet-bottom.inc' %]