Skip to content
Snippets Groups Projects
Commit 782ca32f authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Prise en compte de l'historisation des forcages

parent b386fc0f
Branches feature_sansobligation
Tags
No related merge requests found
......@@ -328,7 +328,7 @@ class Agent implements
{
/** @var AgentForceSansObligation $forcage */
foreach ($this->forcesSansObligation as $forcage) {
if ($forcage->getCampagne() === $campagne) return true;
if ($forcage->estNonHistorise() && $forcage->getCampagne() === $campagne) return true;
}
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment