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> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
4318eeef5f
commit
d374d87b41
|
|
@ -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};
|
||||
|
|
|
|||
Loading…
Reference in New Issue