X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/4f15333b8cc0ae1b0b4089adc2e516ba002b298b..b4fcd52e7e8760b5d008c527b6246cd3b889fe0b:/SL/DB/Part.pm diff --git a/SL/DB/Part.pm b/SL/DB/Part.pm index 5c795f197..94ce4d207 100644 --- a/SL/DB/Part.pm +++ b/SL/DB/Part.pm @@ -97,7 +97,6 @@ sub orphaned { SL::DB::InvoiceItem SL::DB::OrderItem SL::DB::Inventory - SL::DB::RMAItem ); for my $class (@relations) { @@ -180,6 +179,10 @@ sub get_chart { return $charts->{$taxzone}->{$type}; } +sub long_description { + join ' ', grep $_, map $_[0]->$_, qw(partnumber description); +} + 1; __END__