Lines 206-211
if ( not $ordernumber ) { # create order
Link Here
|
206 |
# otherwise, retrieve suggestion information. |
206 |
# otherwise, retrieve suggestion information. |
207 |
elsif ($suggestionid) { |
207 |
elsif ($suggestionid) { |
208 |
$data = GetSuggestion($suggestionid); |
208 |
$data = GetSuggestion($suggestionid); |
|
|
209 |
$data->{quantitysugg} = $data->{quantity}; |
210 |
undef $data->{quantity}; |
209 |
$budget_id ||= $data->{'budgetid'} // 0; |
211 |
$budget_id ||= $data->{'budgetid'} // 0; |
210 |
} |
212 |
} |
211 |
|
213 |
|
Lines 487-492
$template->param(
Link Here
|
487 |
itemtypeloop => \@itemtypes, |
489 |
itemtypeloop => \@itemtypes, |
488 |
quantity => $quantity, |
490 |
quantity => $quantity, |
489 |
quantityrec => $quantity, |
491 |
quantityrec => $quantity, |
|
|
492 |
quantitysugg => $data->{quantitysugg}, |
490 |
rrp => $data->{'rrp'}, |
493 |
rrp => $data->{'rrp'}, |
491 |
replacementprice => $data->{'replacementprice'}, |
494 |
replacementprice => $data->{'replacementprice'}, |
492 |
gst_values => \@gst_values, |
495 |
gst_values => \@gst_values, |