[% UNLESS close_form OR closed%]
[% INCLUDE 'budgets-admin-toolbar.inc' %]
[% END %]
[% IF ( duplicate_form ) %]
Duplicate budget
[% END %]
[% IF ( add_form ) %]
[% IF ( budget_period_id ) %]
Modify budget [% budget_period_description %]
[% ELSE %]
Add budget
[% 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 %]:
Fund id |
Fund code |
Fund name |
Unreceived orders |
[% FOREACH budget IN budgets_to_move %]
[% budget.budget_id %] |
[% budget.budget_code_indent %] |
[% budget.budget_name %] |
[% budget.unreceived_orders.size %] |
[% END %]
[% 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%])
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 %] (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! |
[% END %]
[% ELSE %]
[% r.budget.budget_name %] (id=[% r.budget.budget_id %]) |
|
|
There were no unreceived orders for this fund. |
[% END %]
[% ELSE %]
[% IF r.error == 'budget_code_not_exists' %]
[% 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. |
[% END %]
[% END %]
[% END %]
Back
[% END %]
[% IF ( else ) %]
Budgets administration
[% 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 %] |
[% 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 %]
|
[% 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 %] |
[% 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 %]
|
[% END %]
[% ELSE %]
No inactive budgets
[% END %]
[% END %]
[% INCLUDE 'acquisitions-menu.inc' %]