Bug 31388: Add select2 to fund selection in new order form
In new order form, when you have a lot of funds, would be useful to have autocompletion in funds combobox. Test plan : 1) Create an activ and an inactiv budget with at least one fund 2) Create a new order 'From a new (empty) record' 3) Check you see autocompletion in 'Fund' combobox 4) Click on 'Show inactive' 5) Check you see inactiv funds in combobox Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
0820dbc14f
commit
0bd98b1db9
|
|
@ -366,7 +366,7 @@
|
|||
[% active_count= active_count + budget_loo.b_active %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
<select id="budget_id" name="budget_id">
|
||||
<select class="select2" id="budget_id" name="budget_id">
|
||||
<option value="">Select a fund</option>
|
||||
[% FOREACH budget_loo IN budget_loop %]
|
||||
[% level_indent_cnt = 0 %]
|
||||
|
|
@ -540,6 +540,7 @@
|
|||
[% Asset.js("js/additem.js") | $raw %]
|
||||
[% Asset.js("js/cataloging.js") | $raw %]
|
||||
[% INCLUDE 'calendar.inc' %]
|
||||
[% INCLUDE 'select2.inc' %]
|
||||
<script>
|
||||
actTotal = "";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue