Lines 193-198
Link Here
|
193 |
<thead> |
193 |
<thead> |
194 |
<tr> |
194 |
<tr> |
195 |
<th>Receive?</th> |
195 |
<th>Receive?</th> |
|
|
196 |
<th>Update cataloguing date</th> |
196 |
<th> </th> |
197 |
<th> </th> |
197 |
<th>Barcode</th> |
198 |
<th>Barcode</th> |
198 |
<th>Home library</th> |
199 |
<th>Home library</th> |
Lines 212-218
Link Here
|
212 |
<tbody> |
213 |
<tbody> |
213 |
[% FOREACH item IN order.items %] |
214 |
[% FOREACH item IN order.items %] |
214 |
<tr id="item_[% item.itemnumber | html %]"> |
215 |
<tr id="item_[% item.itemnumber | html %]"> |
215 |
<td style="text-align:center"><input type="checkbox" name="items_to_receive" value="[% item.itemnumber | html %]" /></td> |
216 |
<td style="text-align:center"><input type="checkbox" class="items_to_receive" name="items_to_receive" value="[% item.itemnumber | html %]" /></td> |
|
|
217 |
<td style="text-align:center"> |
218 |
[% IF Koha.Preference('AcqItemSetDateAccessionedsWhenReceived') == 1 %] |
219 |
<input type="checkbox" name="items_to_update_dateaccessioned" value="[% item.itemnumber | html %]" id="item_update_date_[% item.itemnumber | html %]" checked disabled/> |
220 |
[% ELSE %] |
221 |
<input type="checkbox" name="items_to_update_dateaccessioned" value="[% item.itemnumber | html %]" id="item_update_date_[% item.itemnumber | html %]" disabled/> |
222 |
[% END %] |
223 |
</td> |
216 |
<td><a style="cursor:pointer" onclick="PopupEditPage([% item.biblionumber | html %],[% item.itemnumber | html %]);">Edit</a></td> |
224 |
<td><a style="cursor:pointer" onclick="PopupEditPage([% item.biblionumber | html %],[% item.itemnumber | html %]);">Edit</a></td> |
217 |
<td>[% item.barcode | html %]</td> |
225 |
<td>[% item.barcode | html %]</td> |
218 |
<td>[% Branches.GetName( item.homebranch ) | html %]</td> |
226 |
<td>[% Branches.GetName( item.homebranch ) | html %]</td> |
Lines 541-546
Link Here
|
541 |
$("#other_reason").hide(); |
549 |
$("#other_reason").hide(); |
542 |
}); |
550 |
}); |
543 |
|
551 |
|
|
|
552 |
$('.items_to_receive').change(function() { |
553 |
var val = $(this).val(); |
554 |
|
555 |
$('#item_update_date_'+val).prop('disabled', !$(this).prop('checked')); |
556 |
}); |
544 |
}); |
557 |
}); |
545 |
</script> |
558 |
</script> |
546 |
[% END %] |
559 |
[% END %] |
547 |
- |
|
|