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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt (-3 / +1 lines)
Lines 1182-1189 Link Here
1182
                }
1182
                }
1183
                $("#quantity_to_receive").val(row.quantity).prop('readonly', !row.subscription_id);
1183
                $("#quantity_to_receive").val(row.quantity).prop('readonly', !row.subscription_id);
1184
                $("#quantity").val( effective_create_items == 'cataloguing' ? row.quantity_received || 1 : row.quantity_received )
1184
                $("#quantity").val( effective_create_items == 'cataloguing' ? row.quantity_received || 1 : row.quantity_received )
1185
                              .prop('readonly', !row.subscription_id && effective_create_items == 'receiving')
1185
                              .prop('readonly', !row.subscription_id && effective_create_items == 'receiving');
1186
                              .change();
1187
                [% IF only_one_order %]
1186
                [% IF only_one_order %]
1188
                    $(".modal-save").prop('disabled', $("#quantity").val() == 0);
1187
                    $(".modal-save").prop('disabled', $("#quantity").val() == 0);
1189
                [% END %]
1188
                [% END %]
1190
- 

Return to bug 34736