mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fixed: warning message "usagers du parcours" does show only for current
members for a course
This commit is contained in:
parent
09b2c9a14e
commit
a79a2b6ee9
@ -215,7 +215,7 @@ class AccompanyingCourseController extends Controller
|
|||||||
// get persons without household
|
// get persons without household
|
||||||
$withoutHousehold = [];
|
$withoutHousehold = [];
|
||||||
|
|
||||||
foreach ($accompanyingCourse->getParticipations() as $p) {
|
foreach ($accompanyingCourse->getCurrentParticipations() as $p) {
|
||||||
if (false === $p->getPerson()->isSharingHousehold()) {
|
if (false === $p->getPerson()->isSharingHousehold()) {
|
||||||
$withoutHousehold[] = $p->getPerson();
|
$withoutHousehold[] = $p->getPerson();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user