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:
aa47728
)
Auftrags-Controller: Steuern bei der Anzeige nach Steuersatz sortieren.
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Mon, 12 Oct 2015 12:39:16 +0000
(14:39 +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
59337da
..
ee00b15
100644
(file)
--- a/
SL/Controller/Order.pm
+++ b/
SL/Controller/Order.pm
@@
-451,7
+451,7
@@
sub build_tax_rows {
my ($self) = @_;
my $rows_as_html;
- foreach my $tax (@{ $self->{taxes} }) {
+ foreach my $tax (
sort { $a->{tax}->rate cmp $b->{tax}->rate }
@{ $self->{taxes} }) {
$rows_as_html .= $self->p->render('order/tabs/_tax_row', TAX => $tax, TAXINCLUDED => $self->order->taxincluded);
}
return $rows_as_html;