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:
11a04bd
)
Konten bearbeiten - Steuerschlüssel nach Datum sortieren
author
G. Richardson
<grichardson@kivitec.de>
Sun, 21 Jun 2020 22:11:11 +0000
(
00:11
+0200)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Fri, 26 Jun 2020 12:54:02 +0000
(14:54 +0200)
Es gab keine Sortierreihenfolge.
SL/AM.pm
patch
|
blob
|
history
diff --git
a/SL/AM.pm
b/SL/AM.pm
index
abf3c92
..
b7c6003
100644
(file)
--- a/
SL/AM.pm
+++ b/
SL/AM.pm
@@
-106,7
+106,7
@@
sub get_account {
# get the taxkeys of the account
$form->{ACCOUNT_TAXKEYS} = [];
- foreach my $taxkey ( @{ $chart_obj->taxkeys } ) {
+ foreach my $taxkey (
sort { $b->startdate <=> $a->startdate }
@{ $chart_obj->taxkeys } ) {
push @{ $form->{ACCOUNT_TAXKEYS} }, { id => $taxkey->id,
chart_id => $taxkey->chart_id,
tax_id => $taxkey->tax_id,