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:
a22121f
)
Auftrags-Controller: leeres Array taxes anlegen, um "undef-Fehler" zu vermeiden
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Wed, 23 Sep 2015 11:41:44 +0000
(13:41 +0200)
committer
G. Richardson
<information@kivitendo-premium.de>
Mon, 16 Nov 2015 15:15:58 +0000
(16:15 +0100)
SL/Controller/Order.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/Order.pm
b/SL/Controller/Order.pm
index
25ec07c
..
17e1d7d
100644
(file)
--- a/
SL/Controller/Order.pm
+++ b/
SL/Controller/Order.pm
@@
-445,6
+445,7
@@
sub _recalc {
$self->order->currency_id($::instance_conf->get_currency_id());
my %pat = $self->order->calculate_prices_and_taxes();
+ $self->{taxes} = [];
foreach my $tax_chart_id (keys %{ $pat{taxes} }) {
my $tax = SL::DB::Manager::Tax->find_by(chart_id => $tax_chart_id);