]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/MetaSetup/PurchaseInvoice.pm
Merge branch 'master' of http://wagnertech.de/git/mfinanz
[mfinanz.git] / SL / DB / MetaSetup / PurchaseInvoice.pm
index cc5eb4d9e66cd07a1bcb67da68d1c20fa3f63663..f16bceee3b3744d02af5e6add0cc768e22332f89 100644 (file)
@@ -4,7 +4,7 @@ package SL::DB::PurchaseInvoice;
 
 use strict;
 
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
 
 __PACKAGE__->meta->table('ap');
 
@@ -19,12 +19,14 @@ __PACKAGE__->meta->columns(
   direct_debit            => { type => 'boolean', default => 'false' },
   duedate                 => { type => 'date' },
   employee_id             => { type => 'integer' },
+  exchangerate            => { type => 'numeric', precision => 15, scale => 5 },
   gldate                  => { type => 'date', default => 'now' },
   globalproject_id        => { type => 'integer' },
   id                      => { type => 'integer', not_null => 1, sequence => 'glid' },
   intnotes                => { type => 'text' },
   invnumber               => { type => 'text', not_null => 1 },
   invoice                 => { type => 'boolean', default => 'false' },
+  is_sepa_blocked         => { type => 'boolean', default => 'false' },
   itime                   => { type => 'timestamp', default => 'now()' },
   language_id             => { type => 'integer' },
   mtime                   => { type => 'timestamp' },
@@ -34,11 +36,13 @@ __PACKAGE__->meta->columns(
   ordnumber               => { type => 'text' },
   paid                    => { type => 'numeric', default => '0', not_null => 1, precision => 15, scale => 5 },
   payment_id              => { type => 'integer' },
+  qrbill_data             => { type => 'text' },
   quodate                 => { type => 'date' },
   quonumber               => { type => 'text' },
   shipvia                 => { type => 'text' },
   storno                  => { type => 'boolean', default => 'false' },
   storno_id               => { type => 'integer' },
+  tax_point               => { type => 'date' },
   taxincluded             => { type => 'boolean', default => 'false' },
   taxzone_id              => { type => 'integer', not_null => 1 },
   transaction_description => { type => 'text' },