Lines 118-127
Link Here
|
118 |
<select id="branchcode" name="branchcode" required="required"> |
118 |
<select id="branchcode" name="branchcode" required="required"> |
119 |
<option value=""></option> |
119 |
<option value=""></option> |
120 |
[% FOREACH branch IN branches %] |
120 |
[% FOREACH branch IN branches %] |
121 |
[% IF (Branches.GetLoggedInBranchcode == branch.branchcode) %] |
121 |
[% IF desk %] |
122 |
<option value="[% branch.branchcode|html %]" selected="selected">[% branch.branchname|html %]</option> |
122 |
[% IF (desk.branchcode == branch.branchcode) %] |
|
|
123 |
<option value="[% branch.branchcode|html %]" selected="selected">[% branch.branchname|html %]</option> |
124 |
[% END%] |
123 |
[% ELSE %] |
125 |
[% ELSE %] |
124 |
<option value="[% branch.branchcode|html %]">[% branch.branchname|html %]</option> |
126 |
[% IF (Branches.GetLoggedInBranchcode == branch.branchcode) %] |
|
|
127 |
<option value="[% branch.branchcode|html %]" selected="selected">[% branch.branchname|html %]</option> |
128 |
[% END%] |
129 |
<option value="[% branch.branchcode|html %]">[% branch.branchname|html %]</option> |
125 |
[% END %] |
130 |
[% END %] |
126 |
[% END %] |
131 |
[% END %] |
127 |
</select> |
132 |
</select> |
128 |
- |
|
|