if (!$collection->isEmpty()) : ?>
foreach ($collection->getRegularDates() as $regular_date) : ?>
- = $regular_date->toString('long-start') ?>
endforeach ?>
foreach ($collection->getSingleDates() as $single_date) : ?>
- = $single_date->getFullName($with_room_names ? 'long-include-room' : 'long') ?>
endforeach ?>
if ($with_cancelled_dates) : ?>
foreach ($collection->getCancelledDates() as $cancelled_date) : ?>
- = $cancelled_date->getFullName() ?>
endforeach ?>
endif ?>
endif ?>