projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Payment Kosmetik/Konvention
[kivitendo-erp.git]
/
SL
/
DB
/
Helper
/
PriceTaxCalculator.pm
diff --git
a/SL/DB/Helper/PriceTaxCalculator.pm
b/SL/DB/Helper/PriceTaxCalculator.pm
index
80c8047
..
cadc096
100644
(file)
--- a/
SL/DB/Helper/PriceTaxCalculator.pm
+++ b/
SL/DB/Helper/PriceTaxCalculator.pm
@@
-56,7
+56,7
@@
sub calculate_prices_and_taxes {
SL::DB::Manager::Chart->cache_taxkeys(date => $self->transdate);
my $idx = 0;
- foreach my $item (
$self->items
) {
+ foreach my $item (
@{ $self->items_sorted }
) {
$idx++;
_calculate_item($self, $item, $idx, \%data, %params);
}