Lines 268-273
if ( $basket->{is_standing} || $orderinfo->{quantity} ne '0' ) {
Link Here
|
268 |
|
268 |
|
269 |
$orderinfo->{unitprice} = $orderinfo->{ecost} if not defined $orderinfo->{unitprice} or $orderinfo->{unitprice} eq ''; |
269 |
$orderinfo->{unitprice} = $orderinfo->{ecost} if not defined $orderinfo->{unitprice} or $orderinfo->{unitprice} eq ''; |
270 |
|
270 |
|
|
|
271 |
$orderinfo = C4::Acquisition::populate_order_with_prices( |
272 |
{ |
273 |
order => $orderinfo, |
274 |
booksellerid => $orderinfo->{booksellerid}, |
275 |
ordering => 1, |
276 |
} |
277 |
); |
278 |
|
271 |
# if we already have $ordernumber, then it's an ordermodif |
279 |
# if we already have $ordernumber, then it's an ordermodif |
272 |
my $order = Koha::Acquisition::Order->new($orderinfo); |
280 |
my $order = Koha::Acquisition::Order->new($orderinfo); |
273 |
if ( $orderinfo->{ordernumber} ) { |
281 |
if ( $orderinfo->{ordernumber} ) { |