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