X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/e7d2012dd91644d84e9c2b281f1c7b9836180682..cac2ae9bcd47fc55d35c37e25dbb03cd6ac6edeb:/SL/DB/Customer.pm diff --git a/SL/DB/Customer.pm b/SL/DB/Customer.pm index f9f890167..36bddc0c7 100644 --- a/SL/DB/Customer.pm +++ b/SL/DB/Customer.pm @@ -26,11 +26,6 @@ __PACKAGE__->meta->add_relationship( column_map => { id => 'cp_cv_id' }, manager_args => { sort_by => 'lower(contacts.cp_name)' }, }, - business => { - type => 'one to one', - class => 'SL::DB::Business', - column_map => { business_id => 'id' }, - }, ); __PACKAGE__->meta->initialize; @@ -56,4 +51,7 @@ sub displayable_name { return join ' ', grep $_, $self->customernumber, $self->name; } +sub is_customer { 1 }; +sub is_vendor { 0 }; + 1;