Bug 32171: Store after populating order
This updates the call to store after populating the order I put this on it's own bug just for sake of dependency, in case it is needed seperate from 32166 for backports To test: 1 - Apply and test with bug 32166 Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
7d31f77ae6
commit
dec3c88ac4
|
|
@ -291,9 +291,10 @@ if ($op eq ""){
|
|||
# remove uncertainprice flag if we have found a price in the MARC record
|
||||
$orderinfo{uncertainprice} = 0 if $orderinfo{listprice};
|
||||
|
||||
my $order = Koha::Acquisition::Order->new( \%orderinfo )->store;
|
||||
my $order = Koha::Acquisition::Order->new( \%orderinfo );
|
||||
$order->populate_with_prices_for_ordering();
|
||||
$order->populate_with_prices_for_receiving();
|
||||
$order->store;
|
||||
$order->add_item( $_ ) for @{ $budget_hash->{$budget_id}->{itemnumbers} };
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue