Merge branch 'units-sortable'
[kivitendo-erp.git] / SL / DB / MetaSetup / Invoice.pm
index 3d7e93a..be3466d 100644 (file)
@@ -54,7 +54,6 @@ __PACKAGE__->meta->setup(
     storno_id               => { type => 'integer' },
     marge_total             => { type => 'numeric', precision => 5, scale => 15 },
     marge_percent           => { type => 'numeric', precision => 5, scale => 15 },
-    notes_bottom            => { type => 'text' },
     donumber                => { type => 'text' },
   ],
 
@@ -68,11 +67,21 @@ __PACKAGE__->meta->setup(
       key_columns => { customer_id => 'id' },
     },
 
+    dunning_config => {
+      class       => 'SL::DB::DunningConfig',
+      key_columns => { dunning_config_id => 'id' },
+    },
+
     globalproject => {
       class       => 'SL::DB::Project',
       key_columns => { globalproject_id => 'id' },
     },
 
+    salesman => {
+      class       => 'SL::DB::Employee',
+      key_columns => { salesman_id => 'id' },
+    },
+
     storno_obj => {
       class       => 'SL::DB::Invoice',
       key_columns => { storno_id => 'id' },