PointRetrait : finalisation de la partie backOffice

This commit is contained in:
2021-03-04 12:59:55 +01:00
parent dc939c1e29
commit b98e6f7590
9 changed files with 32 additions and 29 deletions

View File

@@ -34,7 +34,9 @@ class GeneralLoop extends BaseLoop implements PropelSearchLoopInterface
$loopResultRow = new LoopResultRow($places);
$schedule = PdrScheduleQuery::create()->findById($places->getId());
$schedule = PdrScheduleQuery::create()
->filterByIdPlace($places->getId())
->orderByDay();
$deliveryDays = "";
foreach ($schedule as $day) {
$deliveryDays .= PointRetrait::getDayLabel($day->getDay()) . ', ';