projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PriceTaxCalculator: chart->taxkey lookup vorberechnen
[kivitendo-erp.git]
/
SL
/
DB
/
Helper
/
PriceTaxCalculator.pm
diff --git
a/SL/DB/Helper/PriceTaxCalculator.pm
b/SL/DB/Helper/PriceTaxCalculator.pm
index
d95d143
..
673bb24
100644
(file)
--- a/
SL/DB/Helper/PriceTaxCalculator.pm
+++ b/
SL/DB/Helper/PriceTaxCalculator.pm
@@
-37,6
+37,8
@@
sub calculate_prices_and_taxes {
$self->netamount( 0);
$self->marge_total(0);
+ SL::DB::Manager::Chart->cache_taxkeys(date => $self->transdate);
+
my $idx = 0;
foreach my $item ($self->items) {
$idx++;