]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/Helper/Mappings.pm
ClientJS: Ziel-Argument bestimmter Funktionen vorne trimmen
[mfinanz.git] / SL / DB / Helper / Mappings.pm
index 9143402f114f6be08676dc6b111457282a6c4b9e..709e881ef7c68127509f91e4a65a474b73f9a83f 100644 (file)
@@ -99,6 +99,7 @@ my %kivitendo_package_names = (
   background_job_histories       => 'background_job_history',
   ap                             => 'purchase_invoice',
   bank_accounts                  => 'bank_account',
+  bank_transactions              => 'bank_transaction',
   buchungsgruppen                => 'buchungsgruppe',
   bin                            => 'bin',
   business                       => 'business',
@@ -162,6 +163,7 @@ my %kivitendo_package_names = (
   project_statuses               => 'project_status',
   project_types                  => 'project_type',
   record_links                   => 'record_link',
+  reconciliation_links           => 'reconciliation_link',
   requirement_spec_acceptance_statuses => 'RequirementSpecAcceptanceStatus',
   requirement_spec_complexities        => 'RequirementSpecComplexity',
   requirement_spec_item_dependencies   => 'RequirementSpecDependency',
@@ -205,6 +207,10 @@ sub get_package_names {
   return KIVITENDO => \%kivitendo_package_names;
 }
 
+sub get_name_for_table {
+  return $kivitendo_package_names{ $_[0] };
+}
+
 sub get_package_for_table {
   %kivitendo_tables_to_packages = map { ($_ => "SL::DB::" . camelify($kivitendo_package_names{$_})) } keys %kivitendo_package_names
     unless %kivitendo_tables_to_packages;