mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Updating violation message
This commit is contained in:
parent
a7c5f464b2
commit
fe825e4979
@ -209,8 +209,6 @@ class AccompanyingPeriod
|
||||
|
||||
|
||||
/// VALIDATION function
|
||||
|
||||
|
||||
public function isDateConsistent(ExecutionContextInterface $context) {
|
||||
if ($this->isOpen()) {
|
||||
return;
|
||||
@ -218,7 +216,7 @@ class AccompanyingPeriod
|
||||
|
||||
if (! $this->isClosingAfterOpening()) {
|
||||
$context->addViolationAt('dateClosing',
|
||||
'validation.PersonHistoryFile.constraint.dateOfClosing_before_dateOfOpening',
|
||||
'validation.AccompanyingPeriod.constraint.dateOfClosing_before_dateOfOpening',
|
||||
array(), null);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user