[% USE KohaDates %] [% USE Price %] [%- BLOCK action_menu %] [% END -%] [% INCLUDE 'doc-head-open.inc' %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'datatables.inc' %] [% IF close_form %] [% END %] Koha › Administration › Budgets [% IF ( add_form ) %]› [% IF ( budget_period_id ) %] Modify budget [% budget_period_description %] [% ELSE %] Add budget [% END %] [% END %] [% IF ( duplicate_form ) %]› Duplicate budget[% END %] [% IF ( delete_confirm ) %]› Delete budget '[% budget_period_description %]'? [% END %] [% IF ( delete_confirmed ) %]› Data deleted [% END %] [% IF close_form %]› Close budget [% budget_period_description %] [% END %] [% IF closed %]› Budget [% budget_period_description %] closed [% END %] [% INCLUDE 'header.inc' %] [% INCLUDE 'budgets-admin-search.inc' %]
[% UNLESS close_form OR closed%] [% INCLUDE 'budgets-admin-toolbar.inc' %] [% END %] [% IF ( duplicate_form ) %]

Duplicate budget

  1. [% INCLUDE 'date-format.inc' %]
  2. [% INCLUDE 'date-format.inc' %]
Cancel
[% END %] [% IF ( add_form ) %] [% IF ( budget_period_id ) %]

Modify budget [% budget_period_description %]

[% ELSE %]

Add budget

[% END %]
  1. [% INCLUDE 'date-format.inc' %]
  2. [% INCLUDE 'date-format.inc' %]
  3. [% IF ( budget_period_active ) %][% ELSE %] [% END %]
  4. [% IF ( budget_period_locked ) %][% ELSE %] [% END %]
[% IF ( budget_period_id ) %]Cancel[% END %]
[% END %] [% IF ( delete_confirm ) %] [% IF ( total ) %]

Cannot delete budget

This record is used [% total %] times . Deletion is not possible.

[% ELSE %]

Delete budget '[% budget_period_description %]'?

[% END %]
[% END %] [% IF close_form %] [% IF budget_periods.size == 0 %] You cannot move funds of this budget, there is no active budget. Please create a new active budget and retry. Back [% ELSIF number_of_unreceived_orders == 0 %] There are no unreceived orders for this budget. Back [% ELSE %]

The unreceived orders from the following funds will be moved

Fund list of budget [% budget_period_description %]: [% FOREACH budget IN budgets_to_move %] [% END %]
Fund id Fund code Fund name Unreceived orders
[% budget.budget_id %] [% budget.budget_code_indent %] [% budget.budget_name %] [% budget.unreceived_orders.size %]
Cancel
[% END %] [% ELSIF closed %]

Report after moving unreceived orders from budget [% from_budget_period.budget_period_description %] ([% from_budget_period.budget_period_startdate | $KohaDates %] - [% from_budget_period.budget_period_enddate | $KohaDates %]) to [% to_budget_period.budget_period_description %] ([% to_budget_period.budget_period_startdate | $KohaDates %] - [% to_budget_period.budget_period_enddate | $KohaDates%])

[% FOR r IN report %] [% IF r.moved %] [% IF r.orders_moved.size > 0 %] [% FOR order IN r.orders_moved %] [% END %] [% ELSE %] [% END %] [% ELSE %] [% IF r.error == 'budget_code_not_exists' %] [% END %] [% END %] [% END %]
Budget id Basket Ordernumber Details
[% r.budget.budget_name %] (id=[% r.budget.budget_id %]) Amount=[% r.budget.budget_amount | $Price %][% IF r.unspent_moved %] ([% r.unspent_moved | $Price %] remaining has been moved)[% END %] [% order.basketname %] [% order.ordernumber %] Moved!
[% r.budget.budget_name %] (id=[% r.budget.budget_id %]) There were no unreceived orders for this fund.
[% r.budget.budget_id %] [% r.budget.budget_amount | $Price %][% IF r.unspent_moved %] ([% r.unspent_moved | $Price %] remaining has been moved)[% END %] This fund code does not exist in the destination budget.
Back [% END %] [% IF ( else ) %]

Budgets administration

[% INCLUDE 'budgets-active-currency.inc' %]
[% IF ( period_active_loop ) %] [% FOREACH period_active IN period_active_loop %] [% END %]
Budget name Start date End date Locked Total Actions
[% period_active.budget_period_description %] [% period_active.budget_period_startdate | $KohaDates %] [% period_active.budget_period_enddate | $KohaDates %] [% IF ( period_active.budget_period_locked ) %] Locked  [% END %] [% period_active.budget_period_total | $Price %] [% PROCESS action_menu block_budget_id=period_active.budget_period_id %]
[% ELSE %] No active budgets [% END %]
[% active_pagination_bar %]
[% IF ( period_inactive_loop ) %] [% FOREACH period_loo IN period_inactive_loop %] [% END %]
Budget name Start date End date Locked Total Actions
[% period_loo.budget_period_description %] [% period_loo.budget_period_startdate | $KohaDates %] [% period_loo.budget_period_enddate | $KohaDates %] [% IF ( period_loo.budget_period_locked ) %]Locked [% ELSE %][% END %] [% period_loo.budget_period_total | $Price %] [% PROCESS action_menu block_budget_id=period_loo.budget_period_id %]
[% ELSE %] No inactive budgets [% END %]
[% inactive_pagination_bar %]
[% END %]
[% INCLUDE 'acquisitions-menu.inc' %]
[% INCLUDE 'intranet-bottom.inc' %]