projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Artikel-Klassifizierung: Neue Option "Preis separat ausweisen"
[kivitendo-erp.git]
/
SL
/
DB
/
Manager
/
PartsClassification.pm
diff --git
a/SL/DB/Manager/PartsClassification.pm
b/SL/DB/Manager/PartsClassification.pm
index
23558dc
..
de11aa8
100644
(file)
--- a/
SL/DB/Manager/PartsClassification.pm
+++ b/
SL/DB/Manager/PartsClassification.pm
@@
-19,4
+19,10
@@
sub get_abbreviation {
return $obj->abbreviation?$obj->abbreviation:undef;
}
+sub get_separate_abbreviation {
+ my ($class,$id) = @_;
+ my $obj = $class->get_first(query => [ id => $id ]);
+ return $obj->report_separate?$obj->abbreviation:'';
+}
+
1;