|
Lines 88-94
Link Here
|
| 88 |
<select id="homebranch" name="homebranch"> |
88 |
<select id="homebranch" name="homebranch"> |
| 89 |
<option value="">LEAVE UNCHANGED</option> |
89 |
<option value="">LEAVE UNCHANGED</option> |
| 90 |
[% FOREACH b IN Branches.all() %] |
90 |
[% FOREACH b IN Branches.all() %] |
| 91 |
[% IF course_item.homebranch.defined && ( ( course.enabled == 'yes' && b.value == item.homebranch ) || ( course.enabled == 'no' && b.value == course_item.homebranch ) ) %] |
91 |
[% IF course_item.homebranch.defined && ( ( course.enabled == 'yes' && b.branchcode == item.homebranch ) || ( course.enabled == 'no' && b.branchcode == course_item.homebranch ) ) %] |
| 92 |
<option value="[% b.branchcode | html %]" selected="selected">[% b.branchname | html %]</option> |
92 |
<option value="[% b.branchcode | html %]" selected="selected">[% b.branchname | html %]</option> |
| 93 |
[% ELSE %] |
93 |
[% ELSE %] |
| 94 |
<option value="[% b.branchcode | html %]">[% b.branchname | html %]</option> |
94 |
<option value="[% b.branchcode | html %]">[% b.branchname | html %]</option> |
| 95 |
- |
|
|