When ordering from an existing record the 'no budgets and funds defined' error
message was shown below the result list.
A) No budgets defined for this user and library
Basket summary page shows a warning instead of the link for creation
B) Budgets and funds are properly defined for this user and library
Basket summary page shows links for order creation.
Before patch: A search for an existing record had the alert at the bottom
of the search result list.
After patch: The links for creation of orders are shown instead.
acqui/neworderbiblio.pl | 18 ++++++++++++++++--
.../en/includes/acquisitions-add-to-basket.inc | 2 +-
2 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/acqui/neworderbiblio.pl b/acqui/neworderbiblio.pl
index c348940..5824f6b 100755
@@ -65,6 +65,8 @@ use C4::Biblio;
+use C4::Members qw/ GetMember /;
+use C4::Budgets qw/ GetBudgetHierarchy /;