projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SL::Controller::CustomerVendor::action_new in action_add umbenannt
[kivitendo-erp.git]
/
SL
/
DB
/
Bin.pm
diff --git
a/SL/DB/Bin.pm
b/SL/DB/Bin.pm
index
e5397ef
..
5d184ae
100644
(file)
--- a/
SL/DB/Bin.pm
+++ b/
SL/DB/Bin.pm
@@
-4,6
+4,16
@@
use strict;
use SL::DB::MetaSetup::Bin;
use SL::DB::MetaSetup::Bin;
+__PACKAGE__->meta->initialize;
+
__PACKAGE__->meta->make_manager_class;
__PACKAGE__->meta->make_manager_class;
+sub full_description {
+ my ($self) = @_;
+
+ $self->warehouse
+ ? $self->warehouse->description . "/" . $self->description
+ : $self->description
+}
+
1;
1;