[Koha-patches] [PATCH] Bug 7435: corrects Fund selectbox in addneworder
Adrien Saurat
adrien.saurat at biblibre.com
Wed Jan 11 16:30:13 CET 2012
Prevent disabled funds to appear in the Fund
select box.
---
.../prog/en/modules/acqui/neworderempty.tt | 5 +++--
1 files changed, 3 insertions(+), 2 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 d58582e..a6f26c4 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt
@@ -365,11 +365,12 @@ $(document).ready(function()
</li>
<li>
[% IF ( close ) %]
- <span class="label">Fund: </span>
+ <span class="label required">Fund: </span>
<input type="hidden" size="20" name="budget_id" id="budget_id" value="[% budget_id %]" />[% Budget_name %]
[% ELSE %]
- <label for="budget_id">Fund: </label>
+ <label class="required" for="budget_id">Fund: </label>
<select id="budget_id" onchange="fetchSortDropbox(this.form)" size="1" name="budget_id">
+ <option value="">Select a budget</option>
[% FOREACH budget_loo IN budget_loop %]
[% IF ( budget_loo.b_sel ) %]
<option value="[% budget_loo.b_id %]" selected="selected">[% budget_loo.b_txt %]</option>
--
1.7.4.1
More information about the Koha-patches
mailing list