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, |