mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-05 04:49:44 +00:00
order accompanying course by openingDate for Household
This commit is contained in:
@@ -78,6 +78,10 @@ class HouseholdController extends AbstractController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
usort($accompanyingPeriods, static function ($a, $b) {
|
||||||
|
return $b->getOpeningDate() > $a->getOpeningDate();
|
||||||
|
});
|
||||||
|
|
||||||
$oldMembers = $household->getNonCurrentMembers();
|
$oldMembers = $household->getNonCurrentMembers();
|
||||||
$accompanyingPeriodsOld = [];
|
$accompanyingPeriodsOld = [];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user