Bugzilla – Attachment 33677 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
Bug-13001-The-total-for-received-order-should-be-b.patch (text/plain), 933 bytes, created by
Jonathan Druart
on 2014-11-19 12:41:04 UTC
(
hide
)
Description:
Bug 13001: The total for received order should be based on the unitprice
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-11-19 12:41:04 UTC
Size:
933 bytes
patch
obsolete
>From ee7103fb656c31300fe0af4973b4ac7d7e926e5b 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] 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. >--- > 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}; >-- >2.1.0
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