[% UNLESS op == 'delete_confirm' %][% INCLUDE 'budgets-admin-toolbar.inc' %][% END %]
[% IF (error_not_authorised_to_modify) %]
You are not authorized to modify this fund
[% END %]
[% IF op == 'list' %]
[% IF budget_period_id %]
Funds for '[% budget_period_description %]'
[% ELSE %]
All funds
[% END %]
[% INCLUDE 'budgets-active-currency.inc' %]
[% IF budgets %]
[% UNLESS budget_period_id %]
Expand all
| Collapse all
| Hide inactive budgets
| Show inactive budgets
[% END %]
Active |
Budget period description |
Fund code |
Fund name |
Base-level allocated |
Base-level ordered |
Total ordered |
Base-level spent |
Total spent |
Base-level available |
Total available |
Actions |
|
|
Period allocated [% IF ( budget_period_total ) %][% budget_period_total %][% END %] |
[% period_alloc_total %] |
|
[% ordered_total %] |
|
[% spent_total %] |
|
[% available_total %] |
|
[% FOREACH budget IN budgets %]
[% IF budget.budget_parent_id %]
[% ELSE %]
[% END %]
[% budget.budget_period_active %] |
Budget [% budget.budget_period_description %] [id=[% budget.budget_period_id %]][% UNLESS budget.budget_period_active %] (inactive)[% END %] |
[% budget.budget_code_indent %] |
[% budget.budget_name %] |
[% IF budget.budget_parent_id %]
[% budget.budget_amount %]
[% ELSE %]
[% budget.budget_amount %]
[% END %]
|
[% IF budget.budget_parent_id %]
[% budget.budget_ordered %]
[% ELSE %]
[% budget.budget_ordered %]
[% END %]
|
[% IF budget.budget_parent_id %]
[% budget.total_ordered %]
[% ELSE %]
[% budget.total_ordered %]
[% END %]
|
[% IF budget.budget_parent_id %]
[% budget.budget_spent %]
[% ELSE %]
[% budget.budget_spent %]
[% END %]
|
[% IF budget.budget_parent_id %]
[% budget.total_spent %]
[% ELSE %]
[% budget.total_spent %]
[% END %]
|
[% BLOCK colorcellvalue %]
[% IF parent %]
[% IF (value > 0) %]
[% ELSIF (value < 0) %]
[% ELSE %]
[% END %]
[% ELSE %]
[% IF (value > 0) %]
[% ELSIF (value < 0) %]
[% ELSE %]
[% END %]
[% END %]
[% text %]
[% END %]
[% INCLUDE colorcellvalue value=budget.budget_remaining text=budget.budget_remaining_display parent=budget.budget_parent_id %]
|
[% INCLUDE colorcellvalue value=budget.total_remaining text=budget.total_remaining_display parent=budget.budget_parent_id %]
|
[% IF ( budget.budget_lock ) %]
|
[% ELSE %]
|
[% END %]
[% END %]
[% ELSE %]
No fund found
[% END %]
[% END %]
[% IF op == 'add_form' && !error_not_authorised_to_modify %]
[% END %]
[% IF op == 'delete_confirm' %]
[% END %]