X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d099ba109329ea13ce350995ddcefe10d065641d..250fa402a8394de574f8ede1ce2345cef7f8b31b:/SL/DB/Order.pm diff --git a/SL/DB/Order.pm b/SL/DB/Order.pm index 739581432..8d321661d 100644 --- a/SL/DB/Order.pm +++ b/SL/DB/Order.pm @@ -17,7 +17,17 @@ __PACKAGE__->meta->add_relationship( manager_args => { with_objects => [ 'part' ] } - } + }, + periodic_invoices_config => { + type => 'one to one', + class => 'SL::DB::PeriodicInvoicesConfig', + column_map => { id => 'oe_id' }, + }, + periodic_invoices => { + type => 'one to many', + class => 'SL::DB::PeriodicInvoice', + column_map => { id => 'oe_id' }, + }, ); __PACKAGE__->meta->initialize;