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

(-)a/acqui/neworderempty.pl (+3 lines)
Lines 207-212 if ( not $ordernumber ) { # create order Link Here
207
    # otherwise, retrieve suggestion information.
207
    # otherwise, retrieve suggestion information.
208
    elsif ($suggestionid) {
208
    elsif ($suggestionid) {
209
        $data = GetSuggestion($suggestionid);
209
        $data = GetSuggestion($suggestionid);
210
        $data->{quantitysugg} = $data->{quantity};
211
        undef $data->{quantity};
210
        $budget_id ||= $data->{'budgetid'} // 0;
212
        $budget_id ||= $data->{'budgetid'} // 0;
211
    }
213
    }
212
214
Lines 488-493 $template->param( Link Here
488
    itemtypeloop     => \@itemtypes,
490
    itemtypeloop     => \@itemtypes,
489
    quantity         => $quantity,
491
    quantity         => $quantity,
490
    quantityrec      => $quantity,
492
    quantityrec      => $quantity,
493
    quantitysugg      => $data->{quantitysugg},
491
    rrp              => $data->{'rrp'},
494
    rrp              => $data->{'rrp'},
492
    replacementprice => $data->{'replacementprice'},
495
    replacementprice => $data->{'replacementprice'},
493
    gst_values       => \@gst_values,
496
    gst_values       => \@gst_values,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (-1 / +6 lines)
Lines 562-573 Link Here
562
                        <input type="text" readonly="readonly" size="20" id="quantity" name="quantity" value="1" />
562
                        <input type="text" readonly="readonly" size="20" id="quantity" name="quantity" value="1" />
563
                    [% ELSE %]
563
                    [% ELSE %]
564
                        <input type="text" readonly="readonly" size="20" id="quantity" name="quantity" value="[% quantityrec | html %]" />
564
                        <input type="text" readonly="readonly" size="20" id="quantity" name="quantity" value="[% quantityrec | html %]" />
565
                        [% IF quantitysugg %]
566
                            (suggested: [% quantitysugg %])
567
                        [% END %]
565
                    [% END %]
568
                    [% END %]
566
                [% ELSE %]
569
                [% ELSE %]
567
                    [% IF basket.is_standing %]
570
                    [% IF basket.is_standing %]
568
                        <input type="text" readonly="readonly" size="20" id="quantity" name="quantity" value="1" />
571
                        <input type="text" readonly="readonly" size="20" id="quantity" name="quantity" value="1" />
569
                    [% ELSE %]
572
                    [% ELSE %]
570
                        <input type="text" size="20" id="quantity" name="quantity" value="[% quantityrec | html %]" onchange="updateCosts();" />
573
                        <input type="text" size="20" id="quantity" name="quantity" value="[% quantityrec | html %]" onchange="updateCosts();" />
574
                        [% IF quantitysugg %]
575
                            (suggested: [% quantitysugg %])
576
                        [% END %]
571
                    [% END %]
577
                    [% END %]
572
                [% END %]
578
                [% END %]
573
                <span class="required">Required</span>
579
                <span class="required">Required</span>
574
- 

Return to bug 36620