Bug 19165 - When adding from a staged file order discounts are not passed into C4::Acquisitions::populate_order_with_prices
Signed-off-by: Your Name <david.bourgault@inlibro.com>
This commit is contained in:
parent
b49ec7a57d
commit
61cfb6e241
|
|
@ -221,6 +221,7 @@ if ($op eq ""){
|
|||
$price = Koha::Number::Price->new($price)->unformat;
|
||||
$orderinfo{tax_rate} = $bookseller->{tax_rate};
|
||||
my $c = $c_discount ? $c_discount : $bookseller->{discount} / 100;
|
||||
$orderinfo{discount} = $c;
|
||||
if ( $bookseller->{listincgst} ) {
|
||||
if ( $c_discount ) {
|
||||
$orderinfo{ecost} = $price;
|
||||
|
|
|
|||
Loading…
Reference in New Issue