projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PriceSource: Klassenauflösung fpr items von Gutschriften
[kivitendo-erp.git]
/
SL
/
DB
/
Pricegroup.pm
diff --git
a/SL/DB/Pricegroup.pm
b/SL/DB/Pricegroup.pm
index
8c9c372
..
b318300
100644
(file)
--- a/
SL/DB/Pricegroup.pm
+++ b/
SL/DB/Pricegroup.pm
@@
-1,13
+1,17
@@
-# 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::Pricegroup;
use strict;
use SL::DB::MetaSetup::Pricegroup;
package SL::DB::Pricegroup;
use strict;
use SL::DB::MetaSetup::Pricegroup;
+use SL::DB::Manager::Pricegroup;
+
+__PACKAGE__->meta->initialize;
+
+sub displayable_name {
+ my $self = shift;
+
+ return join ' ', grep $_, $self->id, $self->pricegroup;
+}
-# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
-__PACKAGE__->meta->make_manager_class;
1;
1;