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();
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 <legend>Manage orders</legend>
47 [% IF ( CAN_user_parameters ) %]
48 <span class="problem">You must <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">define a budget</a> in Administration</span>
50 <span class="problem">Your administrator must define a budget in Administration</span>
52 <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
53 <p><label for="supplierpage">Vendor </label><input type="text" size="25" name="supplier" id="supplierpage" class="focus" />
54 <input type="submit" value="Search" />
58 <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
59 <p><label for="supplierpage">Vendor: </label><input type="text" size="25" name="supplier" id="supplierpage" class="focus" />
60 <input type="submit" value="Search" />
68 [% IF ( suggestion ) %][% IF ( suggestions_count ) %]
69 <div id="acqui_acqui_home_suggestions">
71 <legend>Pending suggestions</legend>
72 <p>[% suggestions_count %] suggestions waiting. <a href="/cgi-bin/koha/suggestion/suggestion.pl">Manage suggestions</a>.</p>
74 </div>[% END %][% END %]
80 [% IF ( loop_budget ) %]
82 <h3>All available funds[% IF ( branchname ) %] for [% branchname %] branch[% END %]</h3>
84 <!-- <a href="/cgi-bin/koha/admin/aqbookfund.pl" title="[ Manage funds ]">[ Manage ]</a>
85 <a href="/cgi-bin/koha/admin/budgetperiods.pl">manage budgets</a><br><br> -->
89 <div id="BudgetsAndFunds">
107 <th align="right" ><span class="bu_active" style="display : none;">[% total %]</span><span class="bu_inactive" >[% total_active %]</span></th>
108 <th align="right" ><span class="bu_active" style="display : none;">[% totordered %]</span><span class="bu_inactive" >[% totordered_active %]</span></th>
109 <th align="right" ><span class="bu_active" style="display : none;">[% totspent %]</span><span class="bu_inactive" >[% totspent_active %]</span></th>
110 <th align="right" ><span class="bu_active" style="display : none;">[% totavail %]</span><span class="bu_inactive" >[% totavail_active %]</span></th>
114 [% FOREACH loop_budge IN loop_budget %]
115 [% IF ( loop_budge.budget_period_active ) %]
116 [% IF ( loop.odd ) %]
119 <tr class="highlight">
121 <td align="center">[% loop_budge.budget_code %]</td>
122 <td align="center">[% loop_budge.budget_owner %]</td>
123 <td align="center">[% loop_budge.budget_branchname %]</td>
124 <td align="right" >[% loop_budge.budget_amount %]</td>
125 <td align="right" >[% loop_budge.budget_ordered %]</td>
126 <td align="right" >[% loop_budge.budget_spent %]</td>
127 <td align="right" >[% loop_budge.budget_avail %]</td>
130 [% IF ( loop.odd ) %]
131 <tr class="b_inactive" style="display : none;">
133 <tr class="highlight" id = "b_inactive" style="display : none;">
135 <td align="center" >[% loop_budge.budget_code %]</td>
136 <td align="center">[% loop_budge.budget_owner %]</td>
137 <td align="center">[% loop_budge.budget_branchname %]</td>
138 <td align="right" >[% loop_budge.budget_amount %]</td>
139 <td align="right" >[% loop_budge.budget_ordered %]</td>
140 <td align="right" >[% loop_budge.budget_spent %]</td>
141 <td align="right" >[% loop_budge.budget_avail %]</td>
146 </div><span class="label">Show all : </span><input type="checkbox" id="showallbudgets" />
154 [% INCLUDE 'acquisitions-menu.inc' %]
157 [% INCLUDE 'intranet-bottom.inc' %]