Bugzilla – Attachment 67335 Details for
Bug 19165
[16.11.x] When adding from a staged file order discounts are not passed into C4::Acquisitions::populate_order_with_prices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19165 - When adding from a staged file order discounts are not passed into C4::Acquisitions::populate_order_with_prices
Bug-19165---When-adding-from-a-staged-file-order-d.patch (text/plain), 1.00 KB, created by
David Bourgault
on 2017-09-22 20:07:45 UTC
(
hide
)
Description:
Bug 19165 - When adding from a staged file order discounts are not passed into C4::Acquisitions::populate_order_with_prices
Filename:
MIME Type:
Creator:
David Bourgault
Created:
2017-09-22 20:07:45 UTC
Size:
1.00 KB
patch
obsolete
>From fe30be32538bb1af9a8b345e7a499224ea6d8e11 Mon Sep 17 00:00:00 2001 >From: Christophe Croullebois <christophe.croullebois@biblibre.com> >Date: Wed, 23 Aug 2017 07:57:30 +0000 >Subject: [PATCH] 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> >--- > acqui/addorderiso2709.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/acqui/addorderiso2709.pl b/acqui/addorderiso2709.pl >index 8175379..5c8739b 100755 >--- a/acqui/addorderiso2709.pl >+++ b/acqui/addorderiso2709.pl >@@ -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; >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19165
:
66380
|
67078
| 67335