Lines 213-231
Link Here
|
213 |
<label for="fund_record_[% biblio.import_record_id | html %]">Fund: </label> |
213 |
<label for="fund_record_[% biblio.import_record_id | html %]">Fund: </label> |
214 |
<select id="fund_record_[% biblio.import_record_id | html %]" name="budget_id_[% biblio.import_record_id | html %]"> |
214 |
<select id="fund_record_[% biblio.import_record_id | html %]" name="budget_id_[% biblio.import_record_id | html %]"> |
215 |
<option value="">Select a fund (will use default if set)</option> |
215 |
<option value="">Select a fund (will use default if set)</option> |
216 |
[% FOREACH budget IN budget_loop %] |
216 |
[% INCLUDE 'budgets_loop.inc' inactive_class = "b_inactive" %] |
217 |
[% IF ( budget.b_id == biblio.budget_id ) %] |
|
|
218 |
[% IF budget.b_active %] |
219 |
<option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]" selected="selected">[% budget.b_txt | html %]</option> |
220 |
[% ELSE %] |
221 |
<option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]" selected="selected">[% budget.b_txt | html %] (inactive)</option> |
222 |
[% END %] |
223 |
[% ELSE %] |
224 |
[% IF budget.b_active %]<option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %]</option> |
225 |
[% ELSE %]<option value="[% budget.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %] (inactive)</option> |
226 |
[% END %] |
227 |
[% END %] |
228 |
[% END %] |
229 |
</select> |
217 |
</select> |
230 |
<span class="required" style="display:none">Required</span> |
218 |
<span class="required" style="display:none">Required</span> |
231 |
[% END %] |
219 |
[% END %] |
Lines 345-365
Link Here
|
345 |
<label for="budget_code_item_[% item.item_id | html %]">budget_code</label> |
333 |
<label for="budget_code_item_[% item.item_id | html %]">budget_code</label> |
346 |
<select class="budget_code_item bci_all" id="budget_code_item_[% item.item_id | html %]" name="budget_code_[% biblio.import_record_id | html %]" hidden="hidden" disabled="disabled"> |
334 |
<select class="budget_code_item bci_all" id="budget_code_item_[% item.item_id | html %]" name="budget_code_[% biblio.import_record_id | html %]" hidden="hidden" disabled="disabled"> |
347 |
<option value="">Select a fund (will use default if set)</option> |
335 |
<option value="">Select a fund (will use default if set)</option> |
348 |
[% FOREACH budget_loo IN budget_loop %] |
336 |
[% INCLUDE 'budgets_loop.inc' inactive_class = "budget_item_inactive" %] |
349 |
[% IF ( budget_loo.b_active ) %] |
|
|
350 |
[% IF ( budget_loo.b_id ) == ( item.budget_id ) %] |
351 |
<option value="[% budget_loo.b_id | html %]" selected="selected">[% budget_loo.b_txt | html %]</option> |
352 |
[% ELSE %] |
353 |
<option value="[% budget_loo.b_id | html %]">[% budget_loo.b_txt | html %]</option> |
354 |
[% END %] |
355 |
[% ELSE %] |
356 |
[% IF ( budget_loo.b_id ) == ( item.budget_id ) %] |
357 |
<option value="[% budget_loo.b_id | html %]" class="buget_item_inactive" selected="selected">[% budget_loo.b_txt | html %] (inactive)</option> |
358 |
[% ELSE %] |
359 |
<option value="[% budget_loo.b_id | html %]" class="budget_item_inactive">[% budget_loo.b_txt | html %] (inactive)</option> |
360 |
[% END %] |
361 |
[% END %] |
362 |
[% END %] |
363 |
</select> |
337 |
</select> |
364 |
<span class="item_fund required">Required</span> |
338 |
<span class="item_fund required">Required</span> |
365 |
</li> |
339 |
</li> |
Lines 506-518
Link Here
|
506 |
<label for="all_budget_id">Fund: </label> |
480 |
<label for="all_budget_id">Fund: </label> |
507 |
<select id="all_budget_id" name="all_budget_id"> |
481 |
<select id="all_budget_id" name="all_budget_id"> |
508 |
<option value="">Select a fund (will populate orders/items if set)</option> |
482 |
<option value="">Select a fund (will populate orders/items if set)</option> |
509 |
[% FOREACH budget_loo IN budget_loop %] |
483 |
[% INCLUDE 'budgets_loop.inc' inactive_class = "b_inactive" %] |
510 |
[% IF ( budget_loo.b_active ) %] |
|
|
511 |
<option value="[% budget_loo.b_id | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %]</option> |
512 |
[% ELSE %] |
513 |
<option value="[% budget_loo.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %] (inactive)</option> |
514 |
[% END %] |
515 |
[% END %] |
516 |
</select> |
484 |
</select> |
517 |
<label for="all_showallbudgets" style="float:none;width:auto;"> Show inactive:</label> |
485 |
<label for="all_showallbudgets" style="float:none;width:auto;"> Show inactive:</label> |
518 |
<input type="checkbox" id="all_showallbudgets" /> |
486 |
<input type="checkbox" id="all_showallbudgets" /> |