Lines 229-254
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
Link Here
|
229 |
|
229 |
|
230 |
# get CGI parameters |
230 |
# get CGI parameters |
231 |
my $orderinfo = { |
231 |
my $orderinfo = { |
232 |
ordernumber => scalar $input->param('ordernumber'), |
232 |
ordernumber => scalar $input->param('ordernumber'), |
233 |
basketno => scalar $input->param('basketno'), |
233 |
basketno => scalar $input->param('basketno'), |
234 |
biblionumber => scalar $input->param('biblionumber'), |
234 |
biblionumber => scalar $input->param('biblionumber'), |
235 |
invoiceid => scalar $input->param('invoiceid'), |
235 |
invoiceid => scalar $input->param('invoiceid'), |
236 |
quantity => scalar $input->param('quantity'), |
236 |
quantity => scalar $input->param('quantity'), |
237 |
budget_id => scalar $input->param('budget_id'), |
237 |
budget_id => scalar $input->param('budget_id'), |
238 |
currency => scalar $input->param('currency'), |
238 |
currency => scalar $input->param('currency'), |
239 |
listprice => scalar $input->param('listprice'), |
239 |
listprice => scalar $input->param('listprice'), |
240 |
uncertainprice => scalar $input->param('uncertainprice'), |
240 |
uncertainprice => scalar $input->param('uncertainprice'), |
241 |
tax_rate_on_ordering => scalar $input->param('tax_rate'), |
241 |
tax_rate_on_ordering => scalar $input->param('tax_rate'), |
242 |
discount => scalar $input->param('discount'), |
242 |
discount => scalar $input->param('discount'), |
243 |
rrp => scalar $input->param('rrp'), |
243 |
rrp => scalar $input->param('rrp'), |
244 |
replacementprice => scalar $input->param('replacementprice'), |
244 |
replacementprice => scalar $input->param('replacementprice'), |
245 |
ecost => scalar $input->param('ecost'), |
245 |
ecost => scalar $input->param('ecost'), |
246 |
unitprice => scalar $input->param('unitprice'), |
246 |
unitprice => scalar $input->param('unitprice'), |
247 |
order_internalnote => scalar $input->param('order_internalnote'), |
247 |
order_internalnote => scalar $input->param('order_internalnote'), |
248 |
order_vendornote => scalar $input->param('order_vendornote'), |
248 |
order_vendornote => scalar $input->param('order_vendornote'), |
249 |
sort1 => scalar $input->param('sort1'), |
249 |
sort1 => scalar $input->param('sort1'), |
250 |
sort2 => scalar $input->param('sort2'), |
250 |
sort2 => scalar $input->param('sort2'), |
251 |
subscriptionid => scalar $input->param('subscriptionid'), |
251 |
subscriptionid => scalar $input->param('subscriptionid'), |
252 |
}; |
252 |
}; |
253 |
|
253 |
|
254 |
$orderinfo->{uncertainprice} ||= 0; |
254 |
$orderinfo->{uncertainprice} ||= 0; |
255 |
- |
|
|