Lines 84-90
Link Here
|
84 |
<select id="holdingbranch" name="holdingbranch"> |
84 |
<select id="holdingbranch" name="holdingbranch"> |
85 |
<option value="">LEAVE UNCHANGED</option> |
85 |
<option value="">LEAVE UNCHANGED</option> |
86 |
[% FOREACH b IN Branches.all() %] |
86 |
[% FOREACH b IN Branches.all() %] |
87 |
[% IF course_item.holdingbranch && ( ( course.enabled == 'yes' && b.value == item.holdingbranch ) || ( course.enabled == 'no' && b.value == course_item.holdingbranch ) ) %] |
87 |
[% IF course_item.holdingbranch && ( ( course.enabled == 'yes' && b.branchcode == item.holdingbranch ) || ( course.enabled == 'no' && b.branchcode == course_item.holdingbranch ) ) %] |
88 |
<option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option> |
88 |
<option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option> |
89 |
[% ELSE %] |
89 |
[% ELSE %] |
90 |
<option value="[% b.branchcode %]">[% b.branchname %]</option> |
90 |
<option value="[% b.branchcode %]">[% b.branchname %]</option> |
91 |
- |
|
|