mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
add alert for not-in-household and actions in page
accompanyingCourse/summary * alert for people not in household for each accompanying course; * style for action in alert * form to members editor
This commit is contained in:
@@ -36,8 +36,8 @@ class MaxHolderValidator extends ConstraintValidator
|
||||
|
||||
$this->context->buildViolation($msg)
|
||||
->setParameters([
|
||||
'start' => $start->format('d-m-Y'), // TODO fix when MessageParameter works with timezone
|
||||
'end' => $end === null ? null : $end->format('d-m-Y')
|
||||
'{{ start }}' => $start->format('d-m-Y'), // TODO fix when MessageParameter works with timezone
|
||||
'{{ end }}' => $end === null ? null : $end->format('d-m-Y')
|
||||
])
|
||||
->addViolation();
|
||||
}
|
||||
|
Reference in New Issue
Block a user