fix change texte attachment

This commit is contained in:
Tolotsoa 2025-09-29 14:43:45 +03:00
parent fa1405ea67
commit 9b82a799e3

View File

@ -4103,7 +4103,7 @@ class PageController extends Controller
$careCertificateFilename = $this->certificateService->generatePacemakerAbsentCertificate($defuntId, $this->idNextcloud);
if($careCertificateFilename != null && trim($email) != '') {
//send email
$this->sendAttachmentToClientByDefunt($defuntId, $careCertificateFilename, $email, "Retrait de pile", "Vous trouverez en pièce jointe l'attestation de retrait de pile ", true);
$this->sendAttachmentToClientByDefunt($defuntId, $careCertificateFilename, $email, "Retrait de pile", "Vous trouverez en pièce jointe l'attestation d'absence de pacemaker ", true);
}
return $careCertificateFilename;