Lines 211-241
Link Here
|
211 |
<input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" /> |
211 |
<input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" /> |
212 |
<input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber | html %]" /> |
212 |
<input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber | html %]" /> |
213 |
|
213 |
|
214 |
[% IF ClaimReturnedLostValue && ITEM_DAT.itemlost == ClaimReturnedLostValue %] |
214 |
<select name="itemlost"> |
215 |
<select name="itemlost" disabled="disabled"> |
215 |
<option value="">Choose</option> |
216 |
[% ELSE %] |
216 |
[% FOREACH itemlostloo IN itemlostloop %] |
217 |
<select name="itemlost"> |
217 |
[% IF itemlostloo.authorised_value == ITEM_DAT.itemlost %] |
218 |
[% END %] |
218 |
<option value="[% itemlostloo.authorised_value | html %]" selected="selected">[% itemlostloo.lib | html %]</option> |
219 |
<option value="">Choose</option> |
219 |
[% ELSIF ClaimReturnedLostValue && itemlostloo.authorised_value == ClaimReturnedLostValue #Filter claims returned status from pulldown %] |
220 |
[% FOREACH itemlostloo IN itemlostloop %] |
220 |
<option value="[% itemlostloo.authorised_value | html %]" disabled="disabled" title="Return claims must be processed from the patron details page">[% itemlostloo.lib | html %]</option> |
221 |
[% IF itemlostloo.authorised_value == ITEM_DAT.itemlost %] |
221 |
[% ELSE %] |
222 |
<option value="[% itemlostloo.authorised_value | html %]" selected="selected">[% itemlostloo.lib | html %]</option> |
222 |
<option value="[% itemlostloo.authorised_value | html %]">[% itemlostloo.lib | html %]</option> |
223 |
[% ELSIF ClaimReturnedLostValue && itemlostloo.authorised_value == ClaimReturnedLostValue #Filter claims returned status from pulldown %] |
|
|
224 |
<option value="[% itemlostloo.authorised_value | html %]" disabled="disabled" title="Return claims must be processed from the patron details page">[% itemlostloo.lib | html %]</option> |
225 |
[% ELSE %] |
226 |
<option value="[% itemlostloo.authorised_value | html %]">[% itemlostloo.lib | html %]</option> |
227 |
[% END %] |
228 |
[% END %] |
223 |
[% END %] |
|
|
224 |
[% END %] |
229 |
</select> |
225 |
</select> |
230 |
<input type="hidden" name="withdrawn" value="[% ITEM_DAT.withdrawn | html %]" /> |
226 |
<input type="hidden" name="withdrawn" value="[% ITEM_DAT.withdrawn | html %]" /> |
231 |
<input type="hidden" name="damaged" value="[% ITEM_DAT.damaged | html %]" /> |
227 |
<input type="hidden" name="damaged" value="[% ITEM_DAT.damaged | html %]" /> |
232 |
|
228 |
|
233 |
[% IF ClaimReturnedLostValue && ITEM_DAT.itemlost == ClaimReturnedLostValue %] |
229 |
<input type="hidden" name="op" value="cud-set_lost" /> |
234 |
<input type="submit" name="submit" class="submit" value="Set status" disabled="disabled"/> |
230 |
<input type="submit" name="submit" class="btn btn-primary btn-xs" value="Set status" /> |
|
|
231 |
[% IF ClaimReturnedLostValue && ITEM_DAT.has_return_claim %] |
235 |
<p class="help-block">Item has been claimed as returned.</p> |
232 |
<p class="help-block">Item has been claimed as returned.</p> |
236 |
[% ELSE %] |
|
|
237 |
<input type="hidden" name="op" value="cud-set_lost" /> |
238 |
<input type="submit" name="submit" class="btn btn-primary btn-xs" value="Set status" /> |
239 |
[% END %] |
233 |
[% END %] |
240 |
</form> |
234 |
</form> |
241 |
[% ELSE %] |
235 |
[% ELSE %] |
242 |
- |
|
|