X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/574855561514a864f554776c421e7037196e714d..bcc996e65643:/SL/DB/MetaSetup/Customer.pm diff --git a/SL/DB/MetaSetup/Customer.pm b/SL/DB/MetaSetup/Customer.pm index b80211917..01b2b63e9 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'); @@ -23,6 +23,7 @@ __PACKAGE__->meta->columns( creditlimit => { type => 'numeric', default => '0', precision => 15, scale => 5 }, currency_id => { type => 'integer', not_null => 1 }, customernumber => { type => 'text' }, + contact_origin => { type => 'text' }, delivery_term_id => { type => 'integer' }, department_1 => { type => 'text' }, department_2 => { type => 'text' }, @@ -31,13 +32,14 @@ __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' }, + invoice_mail => { type => 'text' }, language => { type => 'text' }, language_id => { type => 'integer' }, mandate_date_of_signature => { type => 'date' }, @@ -46,15 +48,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', default => '0', not_null => 1 }, - terms => { type => 'integer', default => '0' }, + taxzone_id => { type => 'integer', not_null => 1 }, user_password => { type => 'text' }, username => { type => 'text' }, ustid => { type => 'text' }, @@ -90,6 +93,16 @@ __PACKAGE__->meta->foreign_keys( class => 'SL::DB::PaymentTerm', 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' }, + }, ); 1;