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

(-)a/acqui/neworderempty.pl (-5 / +7 lines)
Lines 409-419 my ( undef, $barcode_subfield ) = GetMarcFromKohaField('items.barcode'); Link Here
409
# get option values for TaxRates syspref
409
# get option values for TaxRates syspref
410
my @gst_values = map { option => $_ + 0.0 }, split( '\|', C4::Context->preference("TaxRates") );
410
my @gst_values = map { option => $_ + 0.0 }, split( '\|', C4::Context->preference("TaxRates") );
411
411
412
my $rr_qty = $input->param('rr_quantity_to_order');
413
412
my $quantity =
414
my $quantity =
413
      $input->param('rr_quantity_to_order')
415
    defined $rr_qty
414
    ? $input->param('rr_quantity_to_order')
416
        ? $rr_qty
415
    : $data->{'quantity'};
417
        : $data->{quantity};
416
$quantity //= 0;
418
419
$quantity //= ( $basketobj->effective_create_items eq 'ordering' ? 0 : 1 );
417
420
418
# Get additional fields
421
# Get additional fields
419
my $record;
422
my $record;
420
- 

Return to bug 41732