|
Lines 601-629
Link Here
|
| 601 |
[% END %] |
601 |
[% END %] |
| 602 |
|
602 |
|
| 603 |
[% SET bdgclass = "" %] |
603 |
[% SET bdgclass = "" %] |
|
|
604 |
[% SET selected = "" %] |
| 604 |
[% IF ( budget_loo.b_sel ) %] |
605 |
[% IF ( budget_loo.b_sel ) %] |
| 605 |
[% active_count = 0 #select no other fund %] |
606 |
[% active_count = 0 #select no other fund %] |
|
|
607 |
[% selected = 'selected="selected"' %] |
| 606 |
[% ELSIF active_count==1 && budget_loo.b_active %] |
608 |
[% ELSIF active_count==1 && budget_loo.b_active %] |
| 607 |
|
609 |
[% selected = 'selected="selected"' %] |
| 608 |
[% ELSE %] |
610 |
[% ELSE %] |
| 609 |
[% bdgclass=budget_loo.b_active? "": "b_inactive" | html %] |
611 |
[% bdgclass=budget_loo.b_active? "": "b_inactive" | html %] |
| 610 |
[% END %] |
612 |
[% END %] |
| 611 |
|
613 |
|
| 612 |
[% IF ( budget_loo.b_sel ) %] |
614 |
<option value="[% budget_loo.b_id | html %]" class="[% bdgclass | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]"></option> |
| 613 |
<option |
|
|
| 614 |
value="[% budget_loo.b_id | html %]" |
| 615 |
class="[% bdgclass | html %]" |
| 616 |
data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" |
| 617 |
data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]" |
| 618 |
selected="selected" |
| 619 |
> |
| 620 |
[% level_indent | html %][% budget_loo.b_txt | html %][% IF !budget_loo.b_active %](inactive)[% END %] |
| 621 |
</option> |
| 622 |
[% ELSE %] |
| 623 |
<option value="[% budget_loo.b_id | html %]" class="[% bdgclass | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]"> |
| 624 |
[% level_indent | html %][% budget_loo.b_txt | html %][% IF !budget_loo.b_active %](inactive)[% END %] |
| 625 |
</option> |
| 626 |
[% END %] |
| 627 |
[% END %] |
615 |
[% END %] |
| 628 |
</select> |
616 |
</select> |
| 629 |
<span class="required">Required</span> |
617 |
<span class="required">Required</span> |
| 630 |
- |
|
|