X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/026e601d535d8a85694def7fc16bb95536e213d2..0845c4b7d7a969d68cd55a15780c0af2fbe4d2db:/SL/DB/Order.pm diff --git a/SL/DB/Order.pm b/SL/DB/Order.pm index ae5c5045d..b9959aa7e 100644 --- a/SL/DB/Order.pm +++ b/SL/DB/Order.pm @@ -23,7 +23,7 @@ __PACKAGE__->meta->add_relationship( class => 'SL::DB::OrderItem', column_map => { id => 'trans_id' }, manager_args => { - with_objects => [ 'parts' ] + with_objects => [ 'part' ] } }, periodic_invoices_config => { @@ -37,8 +37,7 @@ __PACKAGE__->meta->initialize; # methods -sub items { goto &orderitems; } -sub payment_terms { goto &payment; } +sub items { goto &orderitems; } sub type { my $self = shift;