Commit 782ca32f authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Prise en compte de l'historisation des forcages

parent b386fc0f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }