Aggiunto supporto alle notifiche di lettura email via API

This commit is contained in:
Thomas Zilio 2020-07-29 15:16:40 +02:00
parent be959d181d
commit 898c5e23d5
1 changed files with 2 additions and 0 deletions

View File

@ -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'];