Revision 8b7b7b3f
Von Moritz Bunkus vor etwa 12 Jahren hinzugefügt
SL/DB/Invoice.pm | ||
---|---|---|
class => 'SL::DB::InvoiceItem',
|
||
column_map => { id => 'trans_id' },
|
||
manager_args => {
|
||
with_objects => [ 'part' ]
|
||
with_objects => [ 'parts' ]
|
||
}
|
||
},
|
||
);
|
SL/DB/Order.pm | ||
---|---|---|
class => 'SL::DB::OrderItem',
|
||
column_map => { id => 'trans_id' },
|
||
manager_args => {
|
||
with_objects => [ 'part' ]
|
||
with_objects => [ 'parts' ]
|
||
}
|
||
},
|
||
periodic_invoices_config => {
|
Auch abrufbar als: Unified diff
Rose: 'with_args' nach Foreign-Key-Einführung gefixt
Die Beziehung heißt nun 'parts' und nicht mehr 'part'. 'part' ist nur
ein Alias.