X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/75855995cd0b3213b764b2b54fe1d2c18d4b7fde..d32410ac096b:/SL/DB/MetaSetup/Vendor.pm diff --git a/SL/DB/MetaSetup/Vendor.pm b/SL/DB/MetaSetup/Vendor.pm index 0b57e83f1..a4578028b 100644 --- a/SL/DB/MetaSetup/Vendor.pm +++ b/SL/DB/MetaSetup/Vendor.pm @@ -4,7 +4,7 @@ package SL::DB::Vendor; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('vendor'); @@ -26,9 +26,10 @@ __PACKAGE__->meta->columns( department_2 => { type => 'text' }, depositor => { type => 'text' }, direct_debit => { type => 'boolean', default => 'false' }, - discount => { type => 'float', scale => 4 }, + discount => { type => 'float', precision => 4, scale => 4 }, email => { type => 'text' }, fax => { type => 'text' }, + gln => { type => 'text' }, greeting => { type => 'text' }, homepage => { type => 'text' }, iban => { type => 'text' }, @@ -38,6 +39,7 @@ __PACKAGE__->meta->columns( language_id => { type => 'integer' }, mtime => { type => 'timestamp' }, name => { type => 'text', not_null => 1 }, + natural_person => { type => 'boolean', default => 'false' }, notes => { type => 'text' }, obsolete => { type => 'boolean', default => 'false' }, payment_id => { type => 'integer' }, @@ -47,7 +49,6 @@ __PACKAGE__->meta->columns( taxincluded => { type => 'boolean' }, taxnumber => { type => 'text' }, taxzone_id => { type => 'integer', not_null => 1 }, - terms => { type => 'integer', default => '0' }, user_password => { type => 'text' }, username => { type => 'text' }, ustid => { type => 'text' },