@@ -, +, @@ --- .../prog/en/modules/acqui/acqui-home.tt | 150 ++++++++++++--------- 1 file changed, 88 insertions(+), 62 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt @@ -1,8 +1,11 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Acquisitions - [% INCLUDE 'doc-head-close.inc' %] + [% INCLUDE 'datatables.inc' %] + + + @@ -101,28 +141,33 @@ $(document).ready(function() {

All available funds[% IF ( branchname ) %] for [% branchname %][% END %]

-

+ + - + + + - - + - - - - - + + + @@ -131,8 +176,14 @@ $(document).ready(function() { [% FOREACH loop_budge IN loop_budget %] - [% IF ( loop_budge.budget_period_active ) %] - + [% IF loop_budge.budget_parent_id %] + + [% ELSE %] + + [% END %] + + + - - [% ELSE %] - - - - - - - - - - - - [% END %] [% END %]
+ Expand all + | Collapse all + | Hide inactive budgets + | Show inactive budgets +
FundActiveBudget period descriptionFund code Fund nameActive Owner Library Amount Ordered SpentAvailTotal available
Total    Total [% total %][% total_active %] [% totordered %][% totordered_active %] [% totspent %][% totspent_active %]
[% loop_budge.budget_period_active %]Budget [% loop_budge.budget_period_description %] [id=[% loop_budge.budget_period_id %]][% UNLESS loop_budge.budget_period_active %] (inactive)[% END %] [% IF ( CAN_user_acquisition_budget_manage ) %] [% loop_budge.budget_code %] @@ -141,7 +192,6 @@ $(document).ready(function() { [% END %] [% loop_budge.budget_name %]Active [% IF ( loop_budge.budget_owner_borrowernumber ) %] [% loop_budge.budget_owner_surname %], [% loop_budge.budget_owner_firstname %] [% ELSE %] @@ -154,30 +204,6 @@ $(document).ready(function() { [% loop_budge.formatted_budget_spent %] [% loop_budge.formatted_budget_avail %]
- [% IF ( CAN_user_acquisition_budget_manage ) %] - [% loop_budge.budget_code %] - [% ELSE %] - [% loop_budge.budget_code %] - [% END %] - [% loop_budge.budget_name %]Inactive[% IF ( loop_budge.budget_owner_borrowernumber ) %] - [% loop_budge.budget_owner_surname %], [% loop_budge.budget_owner_firstname %] - [% ELSE %] -   - [% END %] - [% loop_budge.budget_branchname %][% loop_budge.formatted_budget_amount %][% loop_budge.formatted_budget_ordered %][% loop_budge.formatted_budget_spent %][% loop_budge.formatted_budget_avail %]
--