]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/MetaSetup/PurchaseInvoice.pm
AttrDuration-Helfer
[mfinanz.git] / SL / DB / MetaSetup / PurchaseInvoice.pm
index 636a5d823a329499a3d7e3345287b1984f9e11ad..bee7eb2ae9087ac3bc086efc6237b9492136e863 100644 (file)
@@ -43,6 +43,7 @@ __PACKAGE__->meta->setup(
     globalproject_id        => { type => 'integer' },
     transaction_description => { type => 'text' },
     storno_id               => { type => 'integer' },
     globalproject_id        => { type => 'integer' },
     transaction_description => { type => 'text' },
     storno_id               => { type => 'integer' },
+    direct_debit            => { type => 'boolean', default => 'false' },
   ],
 
   primary_key_columns => [ 'id' ],
   ],
 
   primary_key_columns => [ 'id' ],
@@ -75,7 +76,7 @@ __PACKAGE__->meta->setup(
       key_columns => { language_id => 'id' },
     },
 
       key_columns => { language_id => 'id' },
     },
 
-    payment => {
+    payment_terms => {
       class       => 'SL::DB::PaymentTerm',
       key_columns => { payment_id => 'id' },
     },
       class       => 'SL::DB::PaymentTerm',
       key_columns => { payment_id => 'id' },
     },