132 |
is( $dp, 9.0, 'Discount calculated with discount = 0' ); |
132 |
is( $dp, 9.0, 'Discount calculated with discount = 0' ); |
134 |
$dp = Koha::EDI::_discounted_price(0.0, 9, 8.0); |
134 |
$dp = Koha::EDI::_discounted_price(0.0, 9, 8.0); |
135 |
is( $dp, 8.0, 'Discount overriden by incoming calculated value'); |
135 |
is( $dp, 8.0, 'Discount overridden by incoming calculated value'); |