Added creation of email based CSI BOD-108
This commit is contained in:
6
client/templates/csi_invitation/csi_invitation.query.gql
Normal file
6
client/templates/csi_invitation/csi_invitation.query.gql
Normal file
@@ -0,0 +1,6 @@
|
||||
query ($id: uuid!){
|
||||
csi_by_pk(id: $id){
|
||||
id
|
||||
relateddata
|
||||
}
|
||||
}
|
||||
45
client/templates/csi_invitation/csi_invitation.template.html
Normal file
45
client/templates/csi_invitation/csi_invitation.template.html
Normal file
@@ -0,0 +1,45 @@
|
||||
<div>Hi {{csi_by_pk.relateddata.job.ownr_fn}}, </div>
|
||||
<div> </div>
|
||||
<div>
|
||||
Thank you for getting your car repaired at
|
||||
{{csi_by_pk.relateddata.bodyshop.shopname}}. We invite you to complete a
|
||||
survey about your experience.
|
||||
</div>
|
||||
<div> </div>
|
||||
<table border="0" width="100%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: center; vertical-align: middle;">
|
||||
<table style="height: 47px;" border="0" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 47px;">
|
||||
<td
|
||||
style="border-radius: 3px; height: 47px; width: 200px;"
|
||||
align="center"
|
||||
bgcolor="#e9703e"
|
||||
>
|
||||
<a
|
||||
style="
|
||||
font-size: 16px;
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
border-radius: 3px;
|
||||
padding: 12px 18px;
|
||||
border: 1px solid #e9703e;
|
||||
display: inline-block;
|
||||
"
|
||||
href="https://imex.online/csi/{{csi_by_pk.id}}"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>Complete Survey →</a
|
||||
>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div> </div>
|
||||
Reference in New Issue
Block a user