|
Lines 79-85
Link Here
|
| 79 |
[% IF ( ITEM_DAT.withdrawn ) %]Withdrawn[% END %] |
79 |
[% IF ( ITEM_DAT.withdrawn ) %]Withdrawn[% END %] |
| 80 |
)[% END %]</h4> |
80 |
)[% END %]</h4> |
| 81 |
|
81 |
|
| 82 |
<div class="rows"> |
82 |
<span class="rows"> |
| 83 |
<ol class="bibliodetails"> |
83 |
<ol class="bibliodetails"> |
| 84 |
<li><span class="label">Current location:</span> [% Branches.GetName( ITEM_DAT.holdingbranch ) | html %] </li> |
84 |
<li><span class="label">Current location:</span> [% Branches.GetName( ITEM_DAT.holdingbranch ) | html %] </li> |
| 85 |
<li><span class="label">Checkout status:</span> |
85 |
<li><span class="label">Checkout status:</span> |
|
Lines 104-114
Link Here
|
| 104 |
<input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" /> |
104 |
<input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" /> |
| 105 |
<input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" /> |
105 |
<input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" /> |
| 106 |
<input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber | html %]" /> |
106 |
<input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber | html %]" /> |
| 107 |
<select name="itemlost" > |
107 |
<select name="itemlost"> |
| 108 |
<option value="">Choose</option> |
108 |
<option value="">Choose</option> |
| 109 |
[% 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 %] |
110 |
[% IF ClaimReturnedLostValue && !ITEM_DAT.itemlost && itemlostloo.authorised_value == ClaimReturnedLostValue #Filter claims returned status from pulldown %] |
| 111 |
[% IF itemlostloo.authorised_value == ITEM_DAT.itemlost %] |
111 |
[% SET add_claims_returned_tip = itemlostloo.lib %] |
|
|
112 |
<option value="[% itemlostloo.authorised_value | html %]" disabled="disabled">[% itemlostloo.lib | html %]</option> |
| 113 |
[% ELSIF itemlostloo.authorised_value == ITEM_DAT.itemlost %] |
| 112 |
<option value="[% itemlostloo.authorised_value | html %]" selected="selected">[% itemlostloo.lib | html %]</option> |
114 |
<option value="[% itemlostloo.authorised_value | html %]" selected="selected">[% itemlostloo.lib | html %]</option> |
| 113 |
[% ELSE %] |
115 |
[% ELSE %] |
| 114 |
<option value="[% itemlostloo.authorised_value | html %]">[% itemlostloo.lib | html %]</option> |
116 |
<option value="[% itemlostloo.authorised_value | html %]">[% itemlostloo.lib | html %]</option> |
|
Lines 118-129
Link Here
|
| 118 |
<input type="hidden" name="withdrawn" value="[% ITEM_DAT.withdrawn | html %]" /> |
120 |
<input type="hidden" name="withdrawn" value="[% ITEM_DAT.withdrawn | html %]" /> |
| 119 |
<input type="hidden" name="damaged" value="[% ITEM_DAT.damaged | html %]" /> |
121 |
<input type="hidden" name="damaged" value="[% ITEM_DAT.damaged | html %]" /> |
| 120 |
|
122 |
|
|
|
123 |
[% IF add_claims_returned_tip %] |
| 124 |
<i class="fa fa-question-circle" data-toggle="tooltip" |
| 125 |
title="The value '[% add_claims_returned_tip | html %]' cannot be selected. Return claims must be processed from the patron details page." |
| 126 |
data-placement="right"></i> |
| 127 |
[% END %] |
| 128 |
|
| 121 |
[% IF ClaimReturnedLostValue && ITEM_DAT.itemlost == ClaimReturnedLostValue %] |
129 |
[% IF ClaimReturnedLostValue && ITEM_DAT.itemlost == ClaimReturnedLostValue %] |
| 122 |
<input type="submit" name="submit" class="submit" value="Set status" disabled="disabled"/> |
130 |
<input type="submit" name="submit" class="submit" value="Set status" disabled="disabled"/> |
| 123 |
<p class="help-block">Item has been claimed as returned.</p> |
131 |
<p class="help-block">Item has been claimed as returned.</p> |
| 124 |
[% ELSE %] |
132 |
[% ELSE %] |
| 125 |
<input type="hidden" name="op" value="set_lost" /> |
133 |
<input type="hidden" name="op" value="set_lost" /> |
| 126 |
<input type="submit" name="submit" class="submit" value="Set status" /></form> |
134 |
<input type="submit" name="submit" class="submit" value="Set status" /> |
| 127 |
[% END %] |
135 |
[% END %] |
| 128 |
</form> |
136 |
</form> |
| 129 |
[% ELSE %] |
137 |
[% ELSE %] |
|
Lines 304-309
Link Here
|
| 304 |
<script> |
312 |
<script> |
| 305 |
var browser = KOHA.browser('[% searchid | html %]', parseInt('[% biblionumber | html %]', 10)); |
313 |
var browser = KOHA.browser('[% searchid | html %]', parseInt('[% biblionumber | html %]', 10)); |
| 306 |
browser.show(); |
314 |
browser.show(); |
|
|
315 |
$( document ).ready(function() { |
| 316 |
$('[data-toggle="tooltip"]').tooltip(); |
| 317 |
}); |
| 307 |
</script> |
318 |
</script> |
| 308 |
[% END %] |
319 |
[% END %] |
| 309 |
[% INCLUDE 'intranet-bottom.inc' %] |
320 |
[% INCLUDE 'intranet-bottom.inc' %] |