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
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/