Lines 11-25
Link Here
|
11 |
[% BLOCK options_for_desks %] |
11 |
[% BLOCK options_for_desks %] |
12 |
<option id="nodesk" value="">---</option> |
12 |
<option id="nodesk" value="">---</option> |
13 |
[% FOREACH d IN desks %] |
13 |
[% FOREACH d IN desks %] |
14 |
[% IF d.branchcode == branch %] |
14 |
<option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" disabled >[% d.desk_name | html %]</option> |
15 |
[% IF selected == d.desk_id %] |
|
|
16 |
<option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" selected="selected">[% d.desk_name | html %]</option> |
17 |
[% ELSE %] |
18 |
<option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" >[% d.desk_name | html %]</option> |
19 |
[% END %] |
20 |
[% ELSE %] |
21 |
<option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" disabled hidden>[% d.desk_name | html %]</option> |
22 |
[% END%] |
23 |
[% END %] |
15 |
[% END %] |
24 |
[% END %] |
16 |
[% END %] |
25 |
|
17 |
|