jQuery-Script/Methode zum Anstoßen von Downloads
[kivitendo-erp.git] / SL / DB / MetaSetup / PurchaseInvoice.pm
index 636a5d8..bee7eb2 100644 (file)
@@ -43,6 +43,7 @@ __PACKAGE__->meta->setup(
     globalproject_id        => { type => 'integer' },
     transaction_description => { type => 'text' },
     storno_id               => { type => 'integer' },
+    direct_debit            => { type => 'boolean', default => 'false' },
   ],
 
   primary_key_columns => [ 'id' ],
@@ -75,7 +76,7 @@ __PACKAGE__->meta->setup(
       key_columns => { language_id => 'id' },
     },
 
-    payment => {
+    payment_terms => {
       class       => 'SL::DB::PaymentTerm',
       key_columns => { payment_id => 'id' },
     },