From 1e19e9990777b45ddedc6937bb8e13a85dacf943 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Thu, 31 Mar 2011 16:09:06 +0200 Subject: [PATCH] Bug 5963: Modify GetBudgetsHierarchy to returns all funds GetBudgetHierarchy now returns all funds, not only those that are part of an active budget. Fixed a layout problem. --- C4/Budgets.pm | 1 - .../prog/en/modules/acqui/neworderempty.tmpl | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/C4/Budgets.pm b/C4/Budgets.pm index 2d86d07..85cdfe9 100644 --- a/C4/Budgets.pm +++ b/C4/Budgets.pm @@ -498,7 +498,6 @@ sub GetBudgetHierarchy { # show only period X if requested my @where_strings; # Pick out the active ones - push @where_strings, 'aqbudgetperiods.budget_period_active=1'; # show only period X if requested if ($budget_period_id) { push @where_strings," aqbudgets.budget_period_id = ?"; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl index 60d0c30..fb57ff1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl @@ -311,7 +311,9 @@ $(document).ready(function() -  Show all : + + +
  • -- 1.7.4.1