Lines 64-70
Link Here
|
64 |
|
64 |
|
65 |
[% IF ( loop_budget ) %] |
65 |
[% IF ( loop_budget ) %] |
66 |
|
66 |
|
67 |
<h3>All available funds[% IF LoginBranchname %] for [% LoginBranchname | html %][% END %]</h3> |
67 |
<h3>All available funds[% IF LoginBranchname %] for [% LoginBranchname | html %][% END %]</h3> |
68 |
|
68 |
|
69 |
<div id="BudgetsAndFunds"> |
69 |
<div id="BudgetsAndFunds"> |
70 |
<table id="accounts"> |
70 |
<table id="accounts"> |
Lines 72-78
Link Here
|
72 |
<span class="actions"><a href="#" id="expand_all">Expand all</a> |
72 |
<span class="actions"><a href="#" id="expand_all">Expand all</a> |
73 |
| <a href="#" id="collapse_all">Collapse all</a> |
73 |
| <a href="#" id="collapse_all">Collapse all</a> |
74 |
| <a href="#" id="hide_inactive">Hide inactive budgets</a> |
74 |
| <a href="#" id="hide_inactive">Hide inactive budgets</a> |
75 |
| <a href="#" id="show_inactive">Show inactive budgets</a></span> |
75 |
| <a href="#" id="show_inactive">Show inactive budgets</a> |
|
|
76 |
| <select id="library-filter"> |
77 |
<option value="">Filter by library</option> |
78 |
[% FOREACH b IN Branches.all %] |
79 |
<option value="[% b.branchname | html %]">[% b.branchname | html %]</option> |
80 |
[% END %] |
81 |
</select> |
82 |
</span> |
83 |
|
76 |
</caption> |
84 |
</caption> |
77 |
|
85 |
|
78 |
<thead> |
86 |
<thead> |
Lines 248-253
Link Here
|
248 |
}); |
256 |
}); |
249 |
$("#hide_inactive").click(); |
257 |
$("#hide_inactive").click(); |
250 |
|
258 |
|
|
|
259 |
$("#library-filter").change(function(){ |
260 |
$("#accounts").DataTable().search(this.value); |
261 |
$("#accounts").DataTable().draw(); |
262 |
}); |
263 |
|
251 |
}); |
264 |
}); |
252 |
</script> |
265 |
</script> |
253 |
[% END %] |
266 |
[% END %] |
254 |
- |
|
|