Bugzilla – Attachment 33900 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]
Bug 13001: The total for received order should be based on the unitprice
0012-Bug-13001-The-total-for-received-order-should-be-bas.patch (text/plain), 1.00 KB, created by
Paola Rossi
on 2014-11-25 13:05:33 UTC
(
hide
)
Description:
Bug 13001: The total for received order should be based on the unitprice
Filename:
MIME Type:
Creator:
Paola Rossi
Created:
2014-11-25 13:05:33 UTC
Size:
1.00 KB
patch
obsolete
>From 0cefe1b887257a9d41d4f6c9090f9f0609bcc28c 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 12/12] 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> >--- > 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.7.10.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 13001
:
31901
|
31982
|
33677
|
33900
|
34973
|
34974
|
35427
|
35428