[% USE raw %] [% USE Asset %] [% USE AuthorisedValues %] [% USE Branches %] [% USE Price %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Administration › Funds[% IF op == 'add_form' %] › [% IF ( budget_id ) %]Modify fund[% IF ( budget_name ) %] '[% budget_name | html %]'[% END %][% ELSE %]Add fund [% END %][% END %] [% Asset.css("lib/jquery/plugins/treetable/stylesheets/jquery.treetable.css") | $raw %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'budgets-admin-search.inc' %]
[% 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 | html %]' [% ELSE %] All funds [% END %]

[% INCLUDE 'budgets-active-currency.inc' %] [% IF budgets %] [% UNLESS budget_period_id %] [% END %] [% FOREACH budget IN budgets %] [% IF budget.budget_parent_id %] [% ELSE %] [% END %] [% BLOCK colorcellvalue %] [% IF (value > 0) %] [% ELSIF (value < 0) %] [% ELSE %] [% END %] [% value | $Price %] [% END %] [% IF ( budget.budget_lock ) %] [% ELSE %] [% END %] [% 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 %]
[% budget.budget_period_active | html %] Budget [% budget.budget_period_description | html %] [id=[% budget.budget_period_id | html %]][% UNLESS budget.budget_period_active %] (inactive)[% END %] [% budget.budget_code | html %] [% budget.budget_name | html %] [% budget.budget_amount | $Price %] [% 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 %] [% INCLUDE colorcellvalue value=budget.budget_remaining parent=budget.budget_parent_id %] [% INCLUDE colorcellvalue value=budget.total_remaining parent=budget.budget_parent_id %]
Actions
[% ELSE %]

No fund found

[% END %] [% END %] [% IF op == 'add_form' && !error_not_authorised_to_modify %]
[% IF ( budget_id ) %]Modify[% ELSE %]Add[% END %] Fund [% IF ( budget_period_description ) %] [% budget_name | html %] for Budget '[% budget_period_description | html %]' [% END %]
    [% IF ( budget_parent_id ) %]
  1. Fund parent: [% budget_parent_name | html %] [% budget_parent_id | html %] - [% budget_parent_name | html %]
  2. [% END %]
  3. 0 to disable
  4. 0 to disable
  5. Owner: [% IF budget_owner %] [% budget_owner.firstname | html %] [% budget_owner.surname | html %] | [% ELSE %] [% END %] Select owner Remove owner
  6. [% IF budget_has_children %]
  7. Selecting this option will overwrite existing fund owners, if any
  8. [% END %]
  9. Users:
[% IF ( budget_id ) %] [% END %]
Cancel
[% END %] [% IF op == 'delete_confirm' %]

Delete fund [% budget_name | html %]?

If you delete this fund, all orders linked to this fund will be deleted!
Fund amount: [% budget_amount | $Price %]
[% END %]
[% MACRO jsinclude BLOCK %] [% Asset.js("js/acq.js") | $raw %] [% IF op == 'add_form' %] [% ELSIF op == 'list' %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% Asset.js("lib/jquery/plugins/treetable/jquery.treetable.js") | $raw %] [% END %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]