X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FManager%2FPartClassification.pm;h=c00bea76ab0904147fc915755f1399df52b7312a;hb=9dfd320ff258071e3ad78dd6cf2d76e215efd4f7;hp=0924011e75410e4e9418f0109803ce494057d4a9;hpb=65d2537d658b99b005a18c6663bc1293b41a1d83;p=kivitendo-erp.git diff --git a/SL/DB/Manager/PartClassification.pm b/SL/DB/Manager/PartClassification.pm index 0924011e7..c00bea76a 100644 --- a/SL/DB/Manager/PartClassification.pm +++ b/SL/DB/Manager/PartClassification.pm @@ -9,16 +9,6 @@ sub object_class { 'SL::DB::PartClassification' } __PACKAGE__->make_manager_methods; -# -# get the one/two character shortcut of the parts classification -# -sub get_abbreviation { - my ($class,$id) = @_; - my $obj = $class->get_first(query => [ id => $id ]); - return '' unless $obj; - return $obj->abbreviation?$obj->abbreviation:''; -} - 1; @@ -30,27 +20,4 @@ __END__ SL::DB::Manager::PartClassification - -=head1 SYNOPSIS - -This class has wrapper methodes to get the shortcuts - -=head1 METHODS - -=head2 get_abbreviation - - $class->get_abbreviation($classification_id); - -get the one/two character shortcut of the parts classification - -=head2 get_separate_abbreviation - - $class->get_separate_abbreviation($classification_id); - -get the one/two character shortcut of the parts classification if it is a separate article - -=head1 AUTHOR - -Martin Helmling Emartin.helmling@opendynamic.deE - =cut