[% USE raw %] [% USE Asset %] [% USE Price %] [% USE Branches %] [% USE TablesSettings %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Acquisitions › Koha [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("lib/jquery/plugins/treetable/stylesheets/jquery.treetable.css") | $raw %] [% INCLUDE 'header.inc' %] [% INCLUDE 'acquisitions-search.inc' %]
[% INCLUDE 'acquisitions-toolbar.inc' %]

Acquisitions

[% INCLUDE 'budgets-active-currency.inc' hide = 'yes' %] [% UNLESS ( loop_budget ) %] [% IF ( CAN_user_acquisition_period_manage ) %] [% ELSE %]
Your administrator must define a budget in Administration
[% END %] [% END %]
[% IF ( suggestions_count || all_pendingsuggestions ) %]
[% ELSE %]
[% END %]
Manage orders

[% IF ( CAN_user_suggestions_suggestions_manage && ( suggestions_count || all_pendingsuggestions ) ) %]
Pending suggestions

Manage suggestions: [% Branches.GetLoggedInBranchname | html %]: [% suggestions_count | html %] [% IF (all_pendingsuggestions > 0) %] / All libraries: [% all_pendingsuggestions | html %] [% END %]

[% END %]
[% IF ( loop_budget ) %]

All available funds

Expand all | Collapse all | Hide inactive budgets | Show inactive budgets |
[% FOREACH loop_budge IN loop_budget %] [% IF loop_budge.budget_parent_id %] [% ELSE %] [% END %] [% END %]
Active Budget period description Fund code Fund name Owner Library Amount Ordered Spent Total available
Total
[% loop_budge.budget_period_active | html %] Budget [% loop_budge.budget_period_description | html %] [id=[% loop_budge.budget_period_id | html %]][% UNLESS loop_budge.budget_period_active %] (inactive)[% END %] [% IF ( CAN_user_acquisition_budget_manage ) %] [% loop_budge.budget_code | html %] [% ELSE %] [% loop_budge.budget_code | html %] [% END %] [% loop_budge.budget_name | html %] [% IF ( loop_budge.budget_owner ) %] [% loop_budge.budget_owner.surname | html %], [% loop_budge.budget_owner.firstname | html %] [% ELSE %]   [% END %] [% Branches.GetName( loop_budge.budget_branchcode ) | html %] [% loop_budge.budget_amount | $Price %] [% IF !loop_budge.budget_parent_id %] ([% loop_budge.budget_ordered | $Price %]) [% loop_budge.total_ordered | $Price %] [% ELSE %] [% loop_budge.budget_ordered | $Price %] [% END %] [% IF !loop_budge.budget_parent_id %] ([% loop_budge.budget_spent | $Price %]) [% loop_budge.total_spent | $Price %] [% ELSE %] [% loop_budge.budget_spent | $Price %] [% END %] [% IF !loop_budge.budget_parent_id %] ([% loop_budge.budget_avail | $Price %]) [% loop_budge.total_avail | $Price %] [% ELSE %] [% loop_budge.budget_avail | $Price %] [% END %]
[% END %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] [% Asset.js("lib/jquery/plugins/treetable/jquery.treetable.js") | $raw %] [% Asset.js("js/acquisitions-menu.js") | $raw %] [% INCLUDE 'columns_settings.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]