X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FCustomer.pm;h=ef841126b71ead1ef2ee91b59a55e7781d27a456;hb=5da10e0193a990f94c50252738f33f42d0e7e567;hp=aca58747029048a3e88ebd8ba25e0867e77fa51e;hpb=71ada638068acc8b1481b7392bc0511fa627647e;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Customer.pm b/SL/DB/MetaSetup/Customer.pm index aca587470..ef841126b 100644 --- a/SL/DB/MetaSetup/Customer.pm +++ b/SL/DB/MetaSetup/Customer.pm @@ -18,17 +18,21 @@ __PACKAGE__->meta->columns( c_vendor_id => { type => 'text' }, cc => { type => 'text' }, city => { type => 'text' }, + commercial_court => { type => 'text' }, contact => { type => 'text' }, + contact_origin => { type => 'text' }, country => { type => 'text' }, + create_zugferd_invoices => { type => 'integer', default => '-1', not_null => 1 }, creditlimit => { type => 'numeric', default => '0', precision => 15, scale => 5 }, currency_id => { type => 'integer', not_null => 1 }, customernumber => { type => 'text' }, + delivery_order_mail => { type => 'text' }, delivery_term_id => { type => 'integer' }, department_1 => { type => 'text' }, 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' }, @@ -37,8 +41,8 @@ __PACKAGE__->meta->columns( hourly_rate => { type => 'numeric', precision => 8, scale => 2 }, iban => { type => 'text' }, id => { type => 'integer', not_null => 1, sequence => 'id' }, + invoice_mail => { type => 'text' }, itime => { type => 'timestamp', default => 'now()' }, - klass => { type => 'integer', default => '0' }, language => { type => 'text' }, language_id => { type => 'integer' }, mandate_date_of_signature => { type => 'date' }, @@ -47,8 +51,10 @@ __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' }, @@ -91,6 +97,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' },