1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Acquisitions</title>
3 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
4 [% INCLUDE 'doc-head-close.inc' %]
5 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
6 [% INCLUDE 'datatables-strings.inc' %]
7 <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
8 <script type="text/javascript">
11 dt_overwrite_html_sorting_localeCompare();
13 $(document).ready(function() {
14 $('#showallbudgets').click(function() {
15 if ( $('#showallbudgets:checked').val() !== undefined) {
16 $('.b_inactive').show();
17 $('#b_inactive').show();
18 $('.bu_active').show();
19 $('.bu_inactive').hide();
22 $('.b_inactive').hide();
23 $('#b_inactive').hide();
24 $('.bu_inactive').show();
25 $('.bu_active').hide();
28 var srlt = $("#accounts").dataTable($.extend(true, {}, dataTablesDefaults, {
34 { "sType": "num-html" },
35 { "sType": "num-html" },
47 <body id="acq_acqui-home" class="acq">
48 [% INCLUDE 'header.inc' %]
49 [% INCLUDE 'acquisitions-search.inc' %]
51 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › </div>
53 <div id="doc3" class="yui-t2">
59 [% INCLUDE 'acquisitions-toolbar.inc' %]
63 <div class="yui-u first">
64 <div id="acqui_acqui_home_order">
66 [% UNLESS ( loop_budget ) %]
67 [% IF ( CAN_user_parameters ) %]
68 <div class="dialog alert">You must <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">define a budget</a> in Administration</div>
70 <div class="dialog alert">Your administrator must define a budget in Administration</div>
75 <legend>Manage orders</legend>
76 <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
77 <p><label for="supplierpage">Vendor: </label><input type="text" size="25" name="supplier" id="supplierpage" class="focus" />
78 <input type="submit" value="Search" />
84 [% IF ( suggestion ) %][% IF ( suggestions_count ) %]
85 <div id="acqui_acqui_home_suggestions">
87 <legend>Pending suggestions</legend>
88 <p>[% suggestions_count %] suggestions waiting. <a href="/cgi-bin/koha/suggestion/suggestion.pl">Manage suggestions</a>.</p>
90 </div>[% END %][% END %]
96 [% IF ( loop_budget ) %]
98 <h3>All available funds[% IF ( branchname ) %] for [% branchname %] library[% END %]</h3>
100 <!-- <a href="/cgi-bin/koha/admin/aqbookfund.pl" title="[ Manage funds ]">[ Manage ]</a>
101 <a href="/cgi-bin/koha/admin/budgetperiods.pl">manage budgets</a><br><br> -->
105 <div id="BudgetsAndFunds">
106 <table id="accounts">
118 <tfoot id="funds_total">
123 <th align="right" ><span class="bu_active" style="display : none;">[% total %]</span><span class="bu_inactive" >[% total_active %]</span></th>
124 <th align="right" ><span class="bu_active" style="display : none;">[% totordered %]</span><span class="bu_inactive" >[% totordered_active %]</span></th>
125 <th align="right" ><span class="bu_active" style="display : none;">[% totspent %]</span><span class="bu_inactive" >[% totspent_active %]</span></th>
126 <th align="right" ><span class="bu_active" style="display : none;">[% totavail %]</span><span class="bu_inactive" >[% totavail_active %]</span></th>
130 [% FOREACH loop_budge IN loop_budget %]
131 [% IF ( loop_budge.budget_period_active ) %]
132 [% IF ( loop.odd ) %]
135 <tr class="highlight">
137 <td align="center">[% loop_budge.budget_code %]</td>
138 <td align="center">[% loop_budge.budget_owner %]</td>
139 <td align="center">[% loop_budge.budget_branchname %]</td>
140 <td align="right" >[% loop_budge.budget_amount %]</td>
141 <td align="right" ><a href="ordered.pl?fund=[% loop_budge.budget_id %]&fund_code=[% loop_budge.budget_code %]">[% loop_budge.budget_ordered %]</a></td>
142 <td align="right" ><a href="spent.pl?fund=[% loop_budge.budget_id %]&fund_code=[% loop_budge.budget_code %]">[% loop_budge.budget_spent %]</a></td>
143 <td align="right" >[% loop_budge.budget_avail %]</td>
146 [% IF ( loop.odd ) %]
147 <tr class="b_inactive" style="display : none;">
149 <tr class="highlight" id = "b_inactive" style="display : none;">
151 <td align="center" >[% loop_budge.budget_code %]</td>
152 <td align="center">[% loop_budge.budget_owner %]</td>
153 <td align="center">[% loop_budge.budget_branchname %]</td>
154 <td align="right" >[% loop_budge.budget_amount %]</td>
155 <td align="right" ><a href="ordered.pl?fund=[% loop_budge.budget_id %]&fund_code=[% loop_budge.budget_code %]">[% loop_budge.budget_ordered %]</a></td>
156 <td align="right" ><a href="spent.pl?fund=[% loop_budge.budget_id %]&fund_code=[% loop_budge.budget_code %]">[% loop_budge.budget_spent %]</a></td>
157 <td align="right" >[% loop_budge.budget_avail %]</td>
162 </div><span class="label">Show all : </span><input type="checkbox" id="showallbudgets" />
170 [% INCLUDE 'acquisitions-menu.inc' %]
173 [% INCLUDE 'intranet-bottom.inc' %]