From a9e50450efc9ff98fccf560a1c97b309414ee740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Thu, 22 Oct 2015 11:44:23 +0200 Subject: [PATCH] Bug 15049 - Add warning about "No active currency" to Acquisitions start page If no active currency is defined, Acquisitions dose not work properly and there can occur software errors while receiving. This patch adds the warning about missing active currency to Home > Acquisitions To test: - Apply patch - Go to Home > Administration > Currencies & Exchange Rates > Currencies - Make sure that no active currency is set - Go to Home > Acquisitions - Verify that a warning displays - Set an active currency - Veryfy that warning no longer displays --- acqui/acqui-home.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/acqui/acqui-home.pl b/acqui/acqui-home.pl index 58ba68e..8d5a0c4 100755 --- a/acqui/acqui-home.pl +++ b/acqui/acqui-home.pl @@ -127,6 +127,7 @@ $template->param( totordered_active => $totordered_active, totavail_active => $totavail_active, suggestions_count => $suggestions_count, + currency => GetCurrency(), ); output_html_with_http_headers $query, $cookie, $template->output; -- 1.7.10.4