Commit 66a06492 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Correction workflow : si la réalisation était à 0 sur l'étape d'avant, la dépendance mettait ok

parent 26a36dad
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Workflow/src/Tbl/Process/WorkflowProcess.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -150,7 +150,7 @@ class WorkflowProcess implements ProcessInterface
            if ($prec->partiel > 0) {
                $partiel = true;
            }
            if ($prec->realisation >= $prec->objectif) {
            if ($prec->realisation > 0 && $prec->realisation >= $prec->objectif) {
                $partiel = true;
            } else {
                $integral = false;