X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/574855561514a864f554776c421e7037196e714d..eebe8e90991eacadb6fbd20a648c152017a620c7:/SL/DB/MetaSetup/Customer.pm diff --git a/SL/DB/MetaSetup/Customer.pm b/SL/DB/MetaSetup/Customer.pm index b80211917..deab35bfd 100644 --- a/SL/DB/MetaSetup/Customer.pm +++ b/SL/DB/MetaSetup/Customer.pm @@ -53,7 +53,7 @@ __PACKAGE__->meta->columns( taxincluded => { type => 'boolean' }, taxincluded_checked => { type => 'boolean' }, taxnumber => { type => 'text' }, - taxzone_id => { type => 'integer', default => '0', not_null => 1 }, + taxzone_id => { type => 'integer', not_null => 1 }, terms => { type => 'integer', default => '0' }, user_password => { type => 'text' }, username => { 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;