projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c19b30d
)
Falsches Konto mit Steuerbetrag bebucht
author
Moritz Bunkus
<moritz@bunkus.org>
Thu, 11 Nov 2010 16:42:21 +0000
(17:42 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 12 Jan 2011 15:25:55 +0000
(16:25 +0100)
SL/DB/Helper/PriceTaxCalculator.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Helper/PriceTaxCalculator.pm
b/SL/DB/Helper/PriceTaxCalculator.pm
index
6a33435
..
1184b6c
100644
(file)
--- a/
SL/DB/Helper/PriceTaxCalculator.pm
+++ b/
SL/DB/Helper/PriceTaxCalculator.pm
@@
-108,8
+108,8
@@
sub _calculate_item {
$tax_amount = $linetotal * $tax_rate;
}
- $data->{taxes}->{ $taxkey->chart_id } ||= 0;
- $data->{taxes}->{ $taxkey->chart_id } += $tax_amount;
+ $data->{taxes}->{ $taxkey->
tax->
chart_id } ||= 0;
+ $data->{taxes}->{ $taxkey->
tax->
chart_id } += $tax_amount;
$self->netamount($self->netamount + $sellprice * $item->qty / $item->price_factor);