[% 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 | $Price %][% END %] |
[% period_alloc_total | $Price %] |
|
[% ordered_total | $Price %] |
|
[% spent_total | $Price %] |
|
[% available_total | $Price %] |
|
[% 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 %] |
[% budget.budget_name %] |
[% IF budget.budget_parent_id %]
[% budget.budget_amount | $Price %]
[% ELSE %]
[% budget.budget_amount | $Price %]
[% END %]
|
[% IF budget.budget_parent_id %]
[% budget.budget_ordered | $Price %]
[% ELSE %]
[% budget.budget_ordered | $Price %]
[% END %]
|
[% IF budget.budget_parent_id %]
[% budget.total_ordered | $Price %]
[% ELSE %]
[% budget.total_ordered | $Price %]
[% END %]
|
[% IF budget.budget_parent_id %]
[% budget.budget_spent | $Price %]
[% ELSE %]
[% budget.budget_spent | $Price %]
[% END %]
|
[% IF budget.budget_parent_id %]
[% budget.total_spent | $Price %]
[% ELSE %]
[% budget.total_spent | $Price %]
[% END %]
|
[% BLOCK colorcellvalue %]
[% IF parent %]
[% IF (value > 0) %]
[% ELSIF (value < 0) %]
[% ELSE %]
[% END %]
[% ELSE %]
[% IF (value > 0) %]
[% ELSIF (value < 0) %]
[% ELSE %]
[% END %]
[% END %]
[% value | $Price %]
[% END %]
[% INCLUDE colorcellvalue value=budget.budget_remaining parent=budget.budget_parent_id %]
|
[% INCLUDE colorcellvalue value=budget.total_remaining 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 %]