]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/Bin.pm
Typos in Doku
[kivitendo-erp.git] / SL / DB / Bin.pm
index 8d856c4fa62319e2916382143294dafe3ad3d4e5..5d184ae9e0be233c162399f67c361931ff9962aa 100644 (file)
@@ -8,4 +8,12 @@ __PACKAGE__->meta->initialize;
 
 __PACKAGE__->meta->make_manager_class;
 
+sub full_description {
+  my ($self) = @_;
+
+  $self->warehouse
+    ? $self->warehouse->description . "/" . $self->description
+    : $self->description
+}
+
 1;