@@ -, +, @@ acqui home --- .../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,9 +1,12 @@ [% USE Price %] [% INCLUDE 'doc-head-open.inc' %] Koha › Acquisitions - [% INCLUDE 'doc-head-close.inc' %] + [% INCLUDE 'datatables.inc' %] + + + @@ -102,28 +142,33 @@ $(document).ready(function() {

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

-

+ + - + + + - - + - - - - - + + + @@ -132,8 +177,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 | $Price %] [% totordered %][% totordered_active | $Price %] [% totspent %][% totspent_active | $Price %]
[% 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 %] @@ -142,7 +193,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 %] @@ -155,30 +205,6 @@ $(document).ready(function() { [% loop_budge.budget_spent | $Price %] [% loop_budge.budget_avail | $Price %]
- [% 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.budget_amount | $Price %][% loop_budge.budget_ordered | $Price %][% loop_budge.budget_spent | $Price %][% loop_budge.budget_avail | $Price %]
--