View | Details | Raw Unified | Return to bug 5343
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt (+2 lines)
Lines 34-39 Link Here
34
        });
34
        });
35
        $("#show_only_renewed").attr('checked', false);
35
        $("#show_only_renewed").attr('checked', false);
36
        updateRowsVisibility(false);
36
        updateRowsVisibility(false);
37
38
        $("#advsearch_form").show();
37
    });
39
    });
38
 //]]>
40
 //]]>
39
</script>
41
</script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt (-3 / +6 lines)
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
- 

Return to bug 5343