Revision b5b366c9
Von Moritz Bunkus vor etwa 3 Jahren hinzugefügt
SL/DB/Customer.pm | ||
---|---|---|
29 | 29 |
use SL::DB::VC; |
30 | 30 |
|
31 | 31 |
__PACKAGE__->meta->add_relationship( |
32 |
additional_billing_addresses => { |
|
33 |
type => 'one to many', |
|
34 |
class => 'SL::DB::AdditionalBillingAddress', |
|
35 |
column_map => { id => 'customer_id' }, |
|
36 |
manager_args => { sort_by => 'lower(additional_billing_addresses.name)' }, |
|
37 |
}, |
|
32 | 38 |
shipto => { |
33 | 39 |
type => 'one to many', |
34 | 40 |
class => 'SL::DB::Shipto', |
Auch abrufbar als: Unified diff
Zusätzliche Rechnungsadressen: Datenbankupgrade, MetaSetup, Rose-Models