projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pflichtenheft: Zugriff auf nicht vorhandenes »visible_item« verhindern
[kivitendo-erp.git]
/
SL
/
DB
/
Bin.pm
diff --git
a/SL/DB/Bin.pm
b/SL/DB/Bin.pm
index
d9d29b4
..
5d184ae
100644
(file)
--- a/
SL/DB/Bin.pm
+++ b/
SL/DB/Bin.pm
@@
-1,13
+1,19
@@
-# This file has been auto-generated only because it didn't exist.
-# Feel free to modify it at will; it will not be overwritten automatically.
-
package SL::DB::Bin;
use strict;
use SL::DB::MetaSetup::Bin;
package SL::DB::Bin;
use strict;
use SL::DB::MetaSetup::Bin;
-# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
+__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;