]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/InvoiceItem.pm
Preis-/Betrags-/Steuerberechnung in Models einbinden
[mfinanz.git] / SL / DB / InvoiceItem.pm
index d8b39034d69d68401eb49131d0f7fd586eb5311f..04b28a1952fe7eca064aa904f103a46d5478916c 100644 (file)
@@ -9,7 +9,12 @@ __PACKAGE__->meta->add_relationship(
     type         => 'one to one',
     class        => 'SL::DB::Part',
     column_map   => { parts_id => 'id' },
-  }
+  },
+  price_factor_obj => {
+    type           => 'one to one',
+    class          => 'SL::DB::PriceFactor',
+    column_map     => { price_factor_id => 'id' },
+  },
 );
 
 # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.