# get option values for TaxRates syspref
my @gst_values = map { option => $_ + 0.0 }, split( '\|', C4::Context->preference("TaxRates") );
my $rr_qty = $input->param('rr_quantity_to_order');
my $quantity =
$input->param('rr_quantity_to_order')
defined $rr_qty
? $input->param('rr_quantity_to_order')
? $rr_qty
: $data->{'quantity'};
: $data->{quantity};
$quantity //= 0;
$quantity //= ( $basketobj->effective_create_items eq 'ordering' ? 0 : 1 );
# Get additional fields
my $record;
-