Lines 261-266
if ($op eq ""){
Link Here
|
261 |
$price = Koha::Number::Price->new($price)->unformat; |
261 |
$price = Koha::Number::Price->new($price)->unformat; |
262 |
$orderinfo{tax_rate} = $bookseller->tax_rate; |
262 |
$orderinfo{tax_rate} = $bookseller->tax_rate; |
263 |
my $c = $c_discount ? $c_discount : $bookseller->discount / 100; |
263 |
my $c = $c_discount ? $c_discount : $bookseller->discount / 100; |
|
|
264 |
$orderinfo{discount} = $c; |
264 |
if ( $bookseller->listincgst ) { |
265 |
if ( $bookseller->listincgst ) { |
265 |
if ( $c_discount ) { |
266 |
if ( $c_discount ) { |
266 |
$orderinfo{ecost} = $price; |
267 |
$orderinfo{ecost} = $price; |
Lines 329-334
if ($op eq ""){
Link Here
|
329 |
$price = Koha::Number::Price->new($price)->unformat; |
330 |
$price = Koha::Number::Price->new($price)->unformat; |
330 |
$orderinfo{tax_rate} = $bookseller->tax_rate; |
331 |
$orderinfo{tax_rate} = $bookseller->tax_rate; |
331 |
my $c = $c_discount ? $c_discount : $bookseller->discount / 100; |
332 |
my $c = $c_discount ? $c_discount : $bookseller->discount / 100; |
|
|
333 |
$orderinfo{discount} = $c; |
332 |
if ( $bookseller->listincgst ) { |
334 |
if ( $bookseller->listincgst ) { |
333 |
if ( $c_discount ) { |
335 |
if ( $c_discount ) { |
334 |
$orderinfo{ecost} = $price; |
336 |
$orderinfo{ecost} = $price; |
335 |
- |
|
|