Commit 62b5be0e authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Merge branch 'master' into sb-comments-update

parents 6a4578e1 d4a5f49f
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -195,11 +195,12 @@ class ProcessService

            // Création de la signature
            $signature = new Signature();
            $label = (array_key_exists('label', $jsonDatas))?$jsonDatas['label']:$process->getLabel();
            $this->getObjectManager()->persist($signature);
            $signature->setDocumentPath($process->getDocumentName())
                ->setStatus(Signature::STATUS_SIGNATURE_DRAFT)
                ->setDateCreated(new \DateTime())
                ->setLabel($process->getLabel() . ' - ' . $stepData['label'])
                ->setLabel($label . ' - ' . $stepData['label'])
                ->setContextShort($stepData['context_subject'] ?? "")
                ->setContextLong($stepData['context_body'] ?? "")
                ->setDescription($stepData['description'])