X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/677f0dd53d5f964fb4e69eaf7236ffb6a830568b..b5b366c932e2a8118cafa0d27432fa268099d419:/SL/DB/Customer.pm diff --git a/SL/DB/Customer.pm b/SL/DB/Customer.pm index 71c762a5e..2032a4179 100644 --- a/SL/DB/Customer.pm +++ b/SL/DB/Customer.pm @@ -29,6 +29,12 @@ use SL::DB::Helper::DisplayableNamePreferences ( use SL::DB::VC; __PACKAGE__->meta->add_relationship( + additional_billing_addresses => { + type => 'one to many', + class => 'SL::DB::AdditionalBillingAddress', + column_map => { id => 'customer_id' }, + manager_args => { sort_by => 'lower(additional_billing_addresses.name)' }, + }, shipto => { type => 'one to many', class => 'SL::DB::Shipto',