]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/RequirementSpec.pm
Pflichtenhefte bearbeiten
[kivitendo-erp.git] / SL / DB / RequirementSpec.pm
index 2c2725e5036ac375b1f9d705a60983257303bdba..3a3f4ccf42687721a36271e5c56518007df3bb29 100644 (file)
@@ -57,4 +57,10 @@ sub sections {
   return [ sort { $a->position <=> $b->position } grep { !$_->parent_id } @{ $self->items } ];
 }
 
+sub displayable_name {
+  my ($self) = @_;
+
+  return sprintf('%s: "%s"', $self->type->description, $self->title);
+}
+
 1;