|
Lines 122-128
function IEEventHandler_KeyDown() {
Link Here
|
| 122 |
$(document).ready(function() { |
122 |
$(document).ready(function() { |
| 123 |
[% IF (AcqCreateItemReceiving) %] |
123 |
[% IF (AcqCreateItemReceiving) %] |
| 124 |
cloneItemBlock(0, '[% UniqueItemFields %]'); |
124 |
cloneItemBlock(0, '[% UniqueItemFields %]'); |
| 125 |
[% ELSIF (AcqCreateItem == 'ordering') %] |
125 |
[% ELSIF (AcqCreateItem == 'ordering') && not subscriptionid %] |
| 126 |
$("input[name='items_to_receive']").change(function() { |
126 |
$("input[name='items_to_receive']").change(function() { |
| 127 |
CalcQtyToReceive(); |
127 |
CalcQtyToReceive(); |
| 128 |
}); |
128 |
}); |
|
Lines 304-310
function IEEventHandler_KeyDown() {
Link Here
|
| 304 |
</span></li> |
304 |
</span></li> |
| 305 |
<li><label for="quantity">Quantity received: </label> |
305 |
<li><label for="quantity">Quantity received: </label> |
| 306 |
[% IF (AcqCreateItemReceiving) %] |
306 |
[% IF (AcqCreateItemReceiving) %] |
| 307 |
<input readonly="readonly" type="text" size="20" name="quantityrec" id="quantity" value="0" /> |
307 |
[% IF ( subscriptionid ) %] |
|
|
308 |
<input readonly="readonly" type="text" size="20" name="quantityrec" id="quantity" value="1" /> |
| 309 |
[% ELSE %] |
| 310 |
<input readonly="readonly" type="text" size="20" name="quantityrec" id="quantity" value="0" /> |
| 311 |
[% END %] |
| 308 |
[% ELSE %] |
312 |
[% ELSE %] |
| 309 |
[% IF ( quantityreceived ) %] |
313 |
[% IF ( quantityreceived ) %] |
| 310 |
[% IF ( edit ) %] |
314 |
[% IF ( edit ) %] |
| 311 |
- |
|
|