Bugzilla – Attachment 34974 Details for
Bug 13001
Refactor VAT and price calculation - parcel page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 13001: The total for received order should be based on the unitprice
PASSED-QA-Bug-13001-The-total-for-received-order-s.patch (text/plain), 1.03 KB, created by
Katrin Fischer
on 2015-01-05 23:59:28 UTC
(
hide
)
Description:
[PASSED QA] Bug 13001: The total for received order should be based on the unitprice
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-01-05 23:59:28 UTC
Size:
1.03 KB
patch
obsolete
>From b4f6dc059c10c9e5bbf141cf304ceb7654b29954 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Wed, 19 Nov 2014 13:40:10 +0100 >Subject: [PATCH] [PASSED QA] Bug 13001: The total for received order should be > based on the unitprice > >For already received orders, the total should be calculated with the >unitprice, not the estimated cost. > >Signed-off-by: Paola Rossi <paola.rossi@cineca.it> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > acqui/parcel.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/parcel.pl b/acqui/parcel.pl >index aa5815e..5902a22 100755 >--- a/acqui/parcel.pl >+++ b/acqui/parcel.pl >@@ -134,7 +134,7 @@ for my $order ( @orders ) { > $order->{ecost} = $order->{ecostgsti}; > $order->{unitprice} = $order->{unitpricegsti}; > } >- $order->{total} = $order->{ecost} * $order->{quantity}; >+ $order->{total} = $order->{unitprice} * $order->{quantity}; > > my %line = %{ $order }; > $line{invoice} = $invoice->{invoicenumber}; >-- >1.9.1
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 13001
:
31901
|
31982
|
33677
|
33900
|
34973
|
34974
|
35427
|
35428