projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Temporäre Menüpunkte für neuen CSV-Import
[kivitendo-erp.git]
/
SL
/
DB
/
AuthGroup.pm
diff --git
a/SL/DB/AuthGroup.pm
b/SL/DB/AuthGroup.pm
index
8bd5450
..
fe755c7
100644
(file)
--- a/
SL/DB/AuthGroup.pm
+++ b/
SL/DB/AuthGroup.pm
@@
-29,4
+29,9
@@
__PACKAGE__->meta->add_relationship(
__PACKAGE__->meta->initialize;
__PACKAGE__->meta->initialize;
+sub get_employees {
+ my @logins = map { $_->login } $_[0]->users;
+ return @logins ? @{ SL::DB::Manager::Employee->get_all(query => [ login => \@logins ]) } : ();
+}
+
1;
1;