|
Lines 38-44
Link Here
|
| 38 |
<select name="frombranch" id="frombranch"> |
38 |
<select name="frombranch" id="frombranch"> |
| 39 |
<option value="">Default</option> |
39 |
<option value="">Default</option> |
| 40 |
[% FOREACH branchloo IN branchloop %] |
40 |
[% FOREACH branchloo IN branchloop %] |
| 41 |
<option value="[% branchloo.value %]" [% IF ( branchloo.selected ) %]selected[% END %]>[% branchloo.branchname %]</option> |
41 |
[% IF ( branchloo.selected ) %] |
|
|
42 |
<option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option> |
| 43 |
[% ELSE %] |
| 44 |
<option value="[% branchloo.value %]">[% branchloo.branchname %]</option> |
| 45 |
[% END %] |
| 42 |
[% END %] |
46 |
[% END %] |
| 43 |
</select> |
47 |
</select> |
| 44 |
[% IF ( tobranch ) %]<input type="hidden" name="tobranch" value="[% tobranch %]" />[% END %] |
48 |
[% IF ( tobranch ) %]<input type="hidden" name="tobranch" value="[% tobranch %]" />[% END %] |
|
Lines 52-58
Link Here
|
| 52 |
<select name="tobranch" id="tobranch"> |
56 |
<select name="tobranch" id="tobranch"> |
| 53 |
<option value="">Default</option> |
57 |
<option value="">Default</option> |
| 54 |
[% FOREACH branchloo IN branchloop %] |
58 |
[% FOREACH branchloo IN branchloop %] |
| 55 |
<option value="[% branchloo.value %]" [% IF ( branchloo.selected ) %]selected[% END %]>[% branchloo.branchname %]</option> |
59 |
[% IF ( branchloo.selected ) %] |
|
|
60 |
<option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option> |
| 61 |
[% ELSE %] |
| 62 |
<option value="[% branchloo.value %]">[% branchloo.branchname %]</option> |
| 63 |
[% END %] |
| 56 |
[% END %] |
64 |
[% END %] |
| 57 |
</select> |
65 |
</select> |
| 58 |
[% IF ( frombranch ) %]<input type="hidden" name="frombranch" value="[% frombranch %]" />[% END %] |
66 |
[% IF ( frombranch ) %]<input type="hidden" name="frombranch" value="[% frombranch %]" />[% END %] |
| 59 |
- |
|
|