Bugzilla – Attachment 34971 Details for
Bug 12976
Refactor VAT and price calculation - invoice page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 12976: Fix the footer if several tax rate exist
PASSED-QA-Bug-12976-Fix-the-footer-if-several-tax-.patch (text/plain), 1.49 KB, created by
Katrin Fischer
on 2015-01-05 23:24:06 UTC
(
hide
)
Description:
[PASSED QA] Bug 12976: Fix the footer if several tax rate exist
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-01-05 23:24:06 UTC
Size:
1.49 KB
patch
obsolete
>From 10e112d4d2ac78c06dbbe53451f2d8425403f2f7 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 14 Nov 2014 15:51:24 +0100 >Subject: [PATCH] [PASSED QA] Bug 12976: Fix the footer if several tax rate > exist > >If more that 1 tax rate exist, 1 total ligne should be display in the >footer. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > acqui/invoice.pl | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >diff --git a/acqui/invoice.pl b/acqui/invoice.pl >index 72504ae..e958e18 100755 >--- a/acqui/invoice.pl >+++ b/acqui/invoice.pl >@@ -130,14 +130,14 @@ foreach my $order (@$orders) { > ); > my $line = get_infos( $order, $bookseller); > >- $foot{$$line{gstgsti}}{gstrate} = $$line{gstrate}; >- $foot{$$line{gstgsti}}{gstvalue} += $$line{gstvalue}; >+ $foot{$$line{gstrate}}{gstrate} = $$line{gstrate}; >+ $foot{$$line{gstrate}}{gstvalue} += $$line{gstvalue}; > $total_gstvalue += $$line{gstvalue}; >- $foot{$$line{gstgsti}}{quantity} += $$line{quantity}; >+ $foot{$$line{gstrate}}{quantity} += $$line{quantity}; > $total_quantity += $$line{quantity}; >- $foot{$$line{gstgsti}}{totalgste} += $$line{totalgste}; >+ $foot{$$line{gstrate}}{totalgste} += $$line{totalgste}; > $total_gste += $$line{totalgste}; >- $foot{$$line{gstgsti}}{totalgsti} += $$line{totalgsti}; >+ $foot{$$line{gstrate}}{totalgsti} += $$line{totalgsti}; > $total_gsti += $$line{totalgsti}; > > $line->{orderline} = $line->{parent_ordernumber}; >-- >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 12976
:
31812
|
31823
|
31880
|
31983
|
33573
|
33612
|
33613
|
34933
|
34934
|
34935
|
34969
|
34970
| 34971 |
34972