X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FCustomer.pm;h=aca58747029048a3e88ebd8ba25e0867e77fa51e;hb=c7241bf7c547d63999898dee7b5dd486e4d122d3;hp=b80211917c6fbe1fdb3da9eba719e8903dfb7371;hpb=fa7fc7eeb3ca718914affee06c0629a08d571288;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Customer.pm b/SL/DB/MetaSetup/Customer.pm index b80211917..aca587470 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,6 +31,7 @@ __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 }, @@ -53,8 +54,7 @@ __PACKAGE__->meta->columns( 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 +90,11 @@ __PACKAGE__->meta->foreign_keys( class => 'SL::DB::PaymentTerm', key_columns => { payment_id => 'id' }, }, + + taxzone => { + class => 'SL::DB::TaxZone', + key_columns => { taxzone_id => 'id' }, + }, ); 1;