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