Commit 652b8853 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

- Suppression de logs

- Mise à jour packagist
parent cac8718b
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,4 +36,4 @@ update-satis:
  image: python:3.9
  script:
    - apt-get update && apt-get -y upgrade && apt-get -y install curl
    - curl https://gest.unicaen.fr/packagist/update
    - curl https://packagist.unicaen.fr/build?name=unicaen/signature
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
  "repositories": [
    {
      "type": "composer",
      "url": "https://gest.unicaen.fr/packagist"
      "url": "https://packagist.unicaen.fr"
    }
  ],
  "bin": [
+1 −1
Original line number Diff line number Diff line
@@ -444,7 +444,7 @@ class SignatureRecipient
            'email' => $this->getEmail(),
            'status' => $this->getStatus(),
            'status_text' => $this->getStatusText(),
            'informations' => "Infos: " . $this->getInformations(),
            'informations' => $this->getInformations(),
            'dateFinished' => $this->getDateFinished() ? $this->getDateFinished()->format('Y-m-d H:i:s') : null,
        ];
    }
+2 −1
Original line number Diff line number Diff line
@@ -97,7 +97,8 @@ class InternalLetterfileService
        SignatureRecipient $signatureRecipient,
        int                $status,
        string             $comment
    ): void {
    ): void
    {
        if ($signatureRecipient->isFinished()) {
            throw new SignatureException("Le document a déjà été visé");
        }
+2 −1
Original line number Diff line number Diff line
@@ -61,7 +61,8 @@ class InternalVisaStrategy implements ILetterfileStrategy
                $response->addCommentRefused($email, $refuseText);
                $response->setForceRefuse(true);
            }elseif($recipient->getStatus() == Signature::STATUS_SIGNATURE_SIGNED){
                $response->addAccepted($email);
                $acceptText = $recipient->getInformations();
                $response->addAccepted($email, $acceptText);
            }else{
                $response->addNone($email);
            }