projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AreaInputTag: kleines Icon neben Input zum Umschalten auf Textarea
[kivitendo-erp.git]
/
SL
/
DB
/
Business.pm
diff --git
a/SL/DB/Business.pm
b/SL/DB/Business.pm
index
1fea0ef
..
25a5536
100644
(file)
--- a/
SL/DB/Business.pm
+++ b/
SL/DB/Business.pm
@@
-5,6
+5,8
@@
use strict;
use SL::DB::MetaSetup::Business;
use SL::DB::Manager::Business;
use SL::DB::MetaSetup::Business;
use SL::DB::Manager::Business;
+__PACKAGE__->meta->initialize;
+
sub validate {
my ($self) = @_;
sub validate {
my ($self) = @_;
@@
-16,4
+18,10
@@
sub validate {
return @errors;
}
return @errors;
}
+sub displayable_name {
+ my $self = shift;
+
+ return join ' ', grep $_, $self->id, $self->description;
+}
+
1;
1;