X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FCustomer.pm;h=1bf34fbdc76b1bc880853a31969eec2f6706817d;hb=faf42bec5d778fa8d35ad30a4c90e803d675753b;hp=deab35bfda4d126032ae64e4e04bd60a1661e6cf;hpb=2b69a6ac3bb750d39c4a2534d878b546ff649a35;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Customer.pm b/SL/DB/MetaSetup/Customer.pm index deab35bfd..1bf34fbdc 100644 --- a/SL/DB/MetaSetup/Customer.pm +++ b/SL/DB/MetaSetup/Customer.pm @@ -4,7 +4,7 @@ package SL::DB::Customer; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('customer'); @@ -31,13 +31,13 @@ __PACKAGE__->meta->columns( discount => { type => 'float', scale => 4 }, email => { type => 'text' }, fax => { type => 'text' }, + gln => { type => 'text' }, greeting => { type => 'text' }, homepage => { type => 'text' }, hourly_rate => { type => 'numeric', precision => 8, scale => 2 }, iban => { type => 'text' }, id => { type => 'integer', not_null => 1, sequence => 'id' }, itime => { type => 'timestamp', default => 'now()' }, - klass => { type => 'integer', default => '0' }, language => { type => 'text' }, language_id => { type => 'integer' }, mandate_date_of_signature => { type => 'date' }, @@ -46,15 +46,16 @@ __PACKAGE__->meta->columns( name => { type => 'text', not_null => 1 }, notes => { type => 'text' }, obsolete => { type => 'boolean', default => 'false' }, + order_lock => { type => 'boolean', default => 'false' }, payment_id => { type => 'integer' }, phone => { type => 'text' }, + pricegroup_id => { type => 'integer' }, salesman_id => { type => 'integer' }, street => { type => 'text' }, taxincluded => { type => 'boolean' }, taxincluded_checked => { 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' }, @@ -91,6 +92,11 @@ __PACKAGE__->meta->foreign_keys( key_columns => { payment_id => 'id' }, }, + pricegroup => { + class => 'SL::DB::Pricegroup', + key_columns => { pricegroup_id => 'id' }, + }, + taxzone => { class => 'SL::DB::TaxZone', key_columns => { taxzone_id => 'id' },