[% INCLUDE 'doc-head-open.inc' %]
<title>Koha › Administration › Funds[% IF ( add_form ) %] › [% IF ( budget_id ) %]Modify fund[% IF ( budget_name ) %] '[% budget_name %]'[% END %][% ELSE %]Add fund [% END %][% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
+<script type="text/javascript">
+//<![CDATA[
+var MSG_BUDGET_PARENT_ALLOCATION = "- " + _("Fund amount exceeds parent allocation") + "\n";
+var MSG_BUDGET_PERIOD_ALLOCATION = "- " + _("Fund amount exceeds period allocation") + "\n";
+var MSG_PARENT_BENEATH_BUDGET = "- " + _("New budget-parent is beneath budget") + "\n";
+//]]>
+</script>
+
<script type="text/javascript" src="[% themelang %]/js/acq.js"></script>
[% IF ( add_form ) %]
[% IF (error_not_authorised_to_modify) %]
<div class="error">
- <p>You are not authorised to modify this fund</p>
+ <p>You are not authorized to modify this fund</p>
</div>
[% END %]
[% INCLUDE 'budgets-active-currency.inc' %]
+[% IF ( budget ) %]
+
<table id="budgeth">
<thead>
<tr>
</tr>
</tfoot>
<tbody>
- [% IF ( budget ) %]
[% FOREACH budge IN budget %]
[% IF ( budge.toggle ) %]
<tr id="node-[% budge.budget_id %]" class="highlight[% IF ( budge.budget_parent_id ) %] child-of-node-[% budge.budget_parent_id %][% END %] tooltiped">
</td>
[% END %]
</tr>
- [% END %]
- [% ELSE %]
- <tr><td>No fund found</td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td class="tooltipcontent"> </td><td> </td></tr>
[% END %]
</tbody>
</table>
+[% ELSE %]
+ No fund found
+[% END %]
+
[% IF ( pagination_bar ) %]<div class="pages">[% pagination_bar %]</div>[% END %]
[% END %] <!-- else -->