From 567f430df5e2ef1468ac914281cede33786a8b58 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 13 Aug 2013 10:05:58 -0400 Subject: [PATCH] Bug 9238 - make fund pull down say 'select fund', not 'select budget' When adding a new order to a basket the fund selection field is labeled "Fund:" but the default option is "Select a budget." This patch changes this string to "Select a fund" and also corrects the associated JavaScript error message text displayed when one doesn't choose a fund. To test, add an order to basket. The "New order" form should show "Select a fund" as the default option for "Fund" in the "Accounting details" section. If you submit the form without selecting a fund the error message should read "You must select a fund." Signed-off-by: Nicole C. Engard tests pass Signed-off-by: Kyle M Hall String updates only, passes koha-qa.pl Signed-off-by: Galen Charlton (cherry picked from commit dbe233a0e5d86975c28918d8b7023b70bdd29d38) Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 10ce9281d7eb63276511e05879af88d807495785) Signed-off-by: Bernardo Gonzalez Kriegel (cherry picked from commit 10ce9281d7eb63276511e05879af88d807495785) --- .../intranet-tmpl/prog/en/modules/acqui/neworderempty.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt index 99ad52eb31..34dd9b712d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt @@ -40,7 +40,7 @@ function Check(ff) { if(isNull(ff.budget_id,1)){ ok=1; - _alertString += "\n- "+ _("You must select a budget"); + _alertString += "\n- "+ _("You must select a fund"); } if (!(isNum(ff.quantity,0)) || ff.quantity.value == 0){ @@ -382,7 +382,7 @@ $(document).ready(function() [% END %][%# IF (AcqCreateItemOrdering) %]
- Accounting Details + Accounting details
  1. [% IF ( close ) %] @@ -406,7 +406,7 @@ $(document).ready(function() [% ELSE %]