Lines 35-41
Link Here
|
35 |
<li> |
35 |
<li> |
36 |
<label class="required" for="itype">Item type:</label> |
36 |
<label class="required" for="itype">Item type:</label> |
37 |
<select id="itype" name="itype"> |
37 |
<select id="itype" name="itype"> |
38 |
<option value="">LEAVE UNCHANGED</option> |
38 |
<option value="<UNCHANGED>">LEAVE UNCHANGED</option> |
39 |
|
39 |
|
40 |
[% FOREACH it IN itypes %] |
40 |
[% FOREACH it IN itypes %] |
41 |
[% IF course_item.itype.defined && ( ( course.enabled == 'yes' && it.itemtype == item.itype ) || ( course.enabled == 'no' && it.itemtype == course_item.itype ) ) %] |
41 |
[% IF course_item.itype.defined && ( ( course.enabled == 'yes' && it.itemtype == item.itype ) || ( course.enabled == 'no' && it.itemtype == course_item.itype ) ) %] |
Lines 51-57
Link Here
|
51 |
<li> |
51 |
<li> |
52 |
<label class="required" for="ccode">Collection code:</label> |
52 |
<label class="required" for="ccode">Collection code:</label> |
53 |
<select id="ccode" name="ccode"> |
53 |
<select id="ccode" name="ccode"> |
54 |
<option value="">LEAVE UNCHANGED</option> |
54 |
<option value="<UNCHANGED>">LEAVE UNCHANGED</option> |
55 |
|
55 |
|
56 |
[% FOREACH c IN ccodes %] |
56 |
[% FOREACH c IN ccodes %] |
57 |
[% IF course_item.ccode.defined && ( ( course.enabled == 'yes' && c.authorised_value == item.ccode ) || ( course.enabled == 'no' && c.authorised_value == course_item.ccode ) ) %] |
57 |
[% IF course_item.ccode.defined && ( ( course.enabled == 'yes' && c.authorised_value == item.ccode ) || ( course.enabled == 'no' && c.authorised_value == course_item.ccode ) ) %] |
Lines 66-72
Link Here
|
66 |
<li> |
66 |
<li> |
67 |
<label class="required" for="location">Shelving location:</label> |
67 |
<label class="required" for="location">Shelving location:</label> |
68 |
<select id="location" name="location"> |
68 |
<select id="location" name="location"> |
69 |
<option value="">LEAVE UNCHANGED</option> |
69 |
<option value="<UNCHANGED>">LEAVE UNCHANGED</option> |
70 |
|
70 |
|
71 |
[% FOREACH s IN locations %] |
71 |
[% FOREACH s IN locations %] |
72 |
[% IF course_item.location.defined && ( ( course.enabled == 'yes' && s.authorised_value == item.location ) || ( course.enabled == 'no' && s.authorised_value == course_item.location ) ) %] |
72 |
[% IF course_item.location.defined && ( ( course.enabled == 'yes' && s.authorised_value == item.location ) || ( course.enabled == 'no' && s.authorised_value == course_item.location ) ) %] |
Lines 81-87
Link Here
|
81 |
<li> |
81 |
<li> |
82 |
<label class="required" for="holdingbranch">Holding library:</label> |
82 |
<label class="required" for="holdingbranch">Holding library:</label> |
83 |
<select id="holdingbranch" name="holdingbranch"> |
83 |
<select id="holdingbranch" name="holdingbranch"> |
84 |
<option value="">LEAVE UNCHANGED</option> |
84 |
<option value="<UNCHANGED>">LEAVE UNCHANGED</option> |
85 |
[% FOREACH b IN Branches.all() %] |
85 |
[% FOREACH b IN Branches.all() %] |
86 |
[% IF course_item.holdingbranch.defined && ( ( course.enabled == 'yes' && b.value == item.holdingbranch ) || ( course.enabled == 'no' && b.value == course_item.holdingbranch ) ) %] |
86 |
[% IF course_item.holdingbranch.defined && ( ( course.enabled == 'yes' && b.value == item.holdingbranch ) || ( course.enabled == 'no' && b.value == course_item.holdingbranch ) ) %] |
87 |
<option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option> |
87 |
<option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option> |