From 898c5e23d52ed6d2bcd8b71e9772ccc430024a52 Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Wed, 29 Jul 2020 15:16:40 +0200 Subject: [PATCH] Aggiunto supporto alle notifiche di lettura email via API --- src/API/App/v1/RapportinoIntervento.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/API/App/v1/RapportinoIntervento.php b/src/API/App/v1/RapportinoIntervento.php index d79778581..6125b9190 100644 --- a/src/API/App/v1/RapportinoIntervento.php +++ b/src/API/App/v1/RapportinoIntervento.php @@ -29,6 +29,7 @@ class RapportinoIntervento extends Resource implements RetrieveInterface, Create 'subject' => $subject, 'body' => $body, 'prints' => $prints, + 'read_notify' => $template->read_notify, ]; } @@ -52,6 +53,7 @@ class RapportinoIntervento extends Resource implements RetrieveInterface, Create // Contenuti $mail->subject = $data['subject']; $mail->content = $data['body']; + $mail->read_notify = $data['read_notify']; // Stampe da allegare $prints = $data['prints'];