Lines 99-104
Link Here
|
99 |
[% IF itemlostloop %] |
99 |
[% IF itemlostloop %] |
100 |
<li><span class="label">Lost status:</span> |
100 |
<li><span class="label">Lost status:</span> |
101 |
[% IF ( CAN_user_circulate ) %] |
101 |
[% IF ( CAN_user_circulate ) %] |
|
|
102 |
[% SET ClaimReturnedLostValue = Koha.Preference('ClaimReturnedLostValue') %] |
102 |
<form action="updateitem.pl" method="post"> |
103 |
<form action="updateitem.pl" method="post"> |
103 |
<input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" /> |
104 |
<input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" /> |
104 |
<input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" /> |
105 |
<input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" /> |
Lines 106-111
Link Here
|
106 |
<select name="itemlost" > |
107 |
<select name="itemlost" > |
107 |
<option value="">Choose</option> |
108 |
<option value="">Choose</option> |
108 |
[% FOREACH itemlostloo IN itemlostloop %] |
109 |
[% FOREACH itemlostloo IN itemlostloop %] |
|
|
110 |
[% NEXT IF ClaimReturnedLostValue && !ITEM_DAT.itemlost && itemlostloo.authorised_value == ClaimReturnedLostValue #Filter claims returned status from pulldown %] |
109 |
[% IF itemlostloo.authorised_value == ITEM_DAT.itemlost %] |
111 |
[% IF itemlostloo.authorised_value == ITEM_DAT.itemlost %] |
110 |
<option value="[% itemlostloo.authorised_value | html %]" selected="selected">[% itemlostloo.lib | html %]</option> |
112 |
<option value="[% itemlostloo.authorised_value | html %]" selected="selected">[% itemlostloo.lib | html %]</option> |
111 |
[% ELSE %] |
113 |
[% ELSE %] |
Lines 116-122
Link Here
|
116 |
<input type="hidden" name="withdrawn" value="[% ITEM_DAT.withdrawn | html %]" /> |
118 |
<input type="hidden" name="withdrawn" value="[% ITEM_DAT.withdrawn | html %]" /> |
117 |
<input type="hidden" name="damaged" value="[% ITEM_DAT.damaged | html %]" /> |
119 |
<input type="hidden" name="damaged" value="[% ITEM_DAT.damaged | html %]" /> |
118 |
|
120 |
|
119 |
[% SET ClaimReturnedLostValue = Koha.Preference('ClaimReturnedLostValue') %] |
|
|
120 |
[% IF ClaimReturnedLostValue && ITEM_DAT.itemlost == ClaimReturnedLostValue %] |
121 |
[% IF ClaimReturnedLostValue && ITEM_DAT.itemlost == ClaimReturnedLostValue %] |
121 |
<input type="submit" name="submit" class="submit" value="Set status" disabled="disabled"/> |
122 |
<input type="submit" name="submit" class="submit" value="Set status" disabled="disabled"/> |
122 |
<p class="help-block">Item has been claimed as returned.</p> |
123 |
<p class="help-block">Item has been claimed as returned.</p> |
123 |
- |
|
|