Konteneinstellungen - richtiges Konto in ACCOUNT_TAXKEYS
authorG. Richardson <information@kivitendo-premium.de>
Tue, 15 Mar 2016 16:27:23 +0000 (17:27 +0100)
committerG. Richardson <information@kivitendo-premium.de>
Tue, 15 Mar 2016 17:08:27 +0000 (18:08 +0100)
Ging beim Refactorn im letzten Commit kaputt. Wird accno überhaupt
benutzt?

SL/AM.pm

index 896b3c8..af47027 100644 (file)
--- a/SL/AM.pm
+++ b/SL/AM.pm
@@ -107,7 +107,7 @@ sub get_account {
                                             startdate      => $taxkey->startdate->to_kivitendo,
                                             taxdescription => $taxkey->tax->taxdescription,
                                             rate           => $taxkey->tax->rate,
-                                            accno          => $chart_obj->accno,
+                                            accno          => $taxkey->tax->chart->accno,
                                           };
     }