Added subject to reminder generation IO-712
This commit is contained in:
@@ -80,12 +80,13 @@ export function ScheduleEventComponent({
|
||||
) : null}
|
||||
<Button
|
||||
onClick={() => {
|
||||
const Template = TemplateList("job").appointment_reminder;
|
||||
GenerateDocument(
|
||||
{
|
||||
name: TemplateList("job").appointment_reminder.key,
|
||||
name: Template.key,
|
||||
variables: { id: event.job.id },
|
||||
},
|
||||
{ to: event.job && event.job.ownr_ea },
|
||||
{ to: event.job && event.job.ownr_ea, subject: Template.subject },
|
||||
"e"
|
||||
);
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user