Lines 12-18
Link Here
|
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 |
[% IF d.branchcode == branch %] |
|
|
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 %] |
15 |
<option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" >[% d.desk_name | html %]</option> |
18 |
<option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" >[% d.desk_name | html %]</option> |
|
|
19 |
[% END %] |
16 |
[% ELSE %] |
20 |
[% ELSE %] |
17 |
<option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" disabled hidden>[% d.desk_name | html %]</option> |
21 |
<option class="[% d.branchcode | html %]" value="[% d.desk_id | html %]" disabled hidden>[% d.desk_name | html %]</option> |
18 |
[% END%] |
22 |
[% END%] |