Cannot delete budget
This budget has funds attached. You must delete all attached funds before you can delete this budget.
[% ELSE %]
Delete budget '[% budget_period_description | html %]'?
[% 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 | html %]:
Fund ID |
Fund code |
Fund name |
Unreceived orders |
[% FOREACH budget IN budgets_to_move %]
[% budget.budget_id | html %] |
[% budget.budget_code | html %] |
[% budget.budget_name | html %] |
[% budget.unreceived_orders.size | html %] |
[% END %]
[% END %]
[% ELSIF closed %]
Report after moving unreceived orders from budget [% from_budget_period.budget_period_description | html %] ([% from_budget_period.budget_period_startdate | $KohaDates %] - [% from_budget_period.budget_period_enddate | $KohaDates %]) to [% to_budget_period.budget_period_description | html %] ([% to_budget_period.budget_period_startdate | $KohaDates %] - [% to_budget_period.budget_period_enddate | $KohaDates%])
Budget id |
Basket |
Ordernumber |
Details |
[% FOR r IN report %]
[% IF r.moved %]
[% IF r.orders_moved.size > 0 %]
[% FOR order IN r.orders_moved %]
[% r.budget.budget_name | html %] (id=[% r.budget.budget_id | html %]) Amount=[% r.budget.budget_amount | $Price %][% IF r.unspent_moved %] ([% r.unspent_moved | $Price %] remaining has been moved)[% END %] |
[% order.basketname | html %] |
[% order.ordernumber | html %] |
Moved! |
[% END %]
[% ELSE %]
[% r.budget.budget_name | html %] (id=[% r.budget.budget_id | html %]) |
|
|
There were no unreceived orders for this fund. |
[% END %]
[% ELSE %]
[% IF r.error == 'budget_code_not_exists' %]
[% r.budget.budget_id | html %] [% 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. |
[% END %]
[% END %]
[% END %]
Back
[% END %]
[% IF ( else ) %]
Budgets administration
[% IF ( failed_delete_funds_exist ) %]
Failed to delete budget because funds exist.
[% END %]
[% INCLUDE 'budgets-active-currency.inc' %]
[% IF ( period_active_loop ) %]
Budget name |
Start date |
End date |
Locked |
Total |
Actions |
[% FOREACH period_active IN period_active_loop %]
[% period_active.budget_period_description | html %] |
[% 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=period_active %]
|
[% END %]
[% ELSE %]
No active budgets
[% END %]
[% IF ( period_inactive_loop ) %]
Budget name |
Start date |
End date |
Locked |
Total |
Actions |
[% FOREACH period_loo IN period_inactive_loop %]
[% period_loo.budget_period_description | html %] |
[% period_loo.budget_period_startdate | $KohaDates %] |
[% period_loo.budget_period_enddate | $KohaDates %] |
[% IF ( period_loo.budget_period_locked ) %] Locked[% END %] |
[% period_loo.budget_period_total | $Price %] |
[% PROCESS action_menu block_budget=period_loo %]
|
[% END %]
[% ELSE %]
No inactive budgets
[% END %]
[% END %]