X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f5c454e3855012bdb1928f3e4c4964403d4d8163..8a862ec020f773911c6ee60d459cc3206bfc7122:/SL/DB/TaxzoneChart.pm diff --git a/SL/DB/TaxzoneChart.pm b/SL/DB/TaxzoneChart.pm index 4eb0ea8b9..6a98845bc 100644 --- a/SL/DB/TaxzoneChart.pm +++ b/SL/DB/TaxzoneChart.pm @@ -22,9 +22,9 @@ sub get_all_accounts_by_buchungsgruppen_id { my %list = (); - #inventory_accno der Buchungsgruppe: - $list{inventory_accno} = SL::DB::Manager::Buchungsgruppe->find_by(id => $buchungsgruppen_id)->inventory_accno; - $list{inventory_accno_description} = SL::DB::Manager::Buchungsgruppe->find_by(id => $buchungsgruppen_id)->inventory_accno_description; + # inventory_accno and description of the Buchungsgruppe: + $list{inventory_accno} = SL::DB::Manager::Buchungsgruppe->find_by(id => $buchungsgruppen_id)->inventory_account->accno; + $list{inventory_accno_description} = SL::DB::Manager::Buchungsgruppe->find_by(id => $buchungsgruppen_id)->inventory_account->description; foreach my $taxzonechart (@{ $all_taxzonecharts }) { $list{ $taxzonechart->taxzone_id }{taxzone_chart_id} = $taxzonechart->id;