past due email

This commit is contained in:
CHIEFSOFT\ameye
2024-09-23 18:51:09 -04:00
parent f558567b93
commit 14aa8859c7
2 changed files with 71 additions and 92 deletions
+70 -91
View File
@@ -1,163 +1,147 @@
Subject: {{subject}}
Subject: {{subject}}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="utf-8">
<title>{{subject}}</title>
<style type="text/css">
body {margin: 0; padding: 0; min-width: 100%!important;}
img {height: auto;}
body {margin: 0; padding: 0; min-width: 100%!important; font-family: sans-serif;}
.content {width: 100%; max-width: 600px;}
.header {padding: 10px 10px 10px 10px;}
.innerpadding {padding: 10px 10px 10px 10px;}
.signup_random{ font-size: 44px; padding:10px; margin:10px;}
.line-band {height 20px;}
.warning{color:lightred; font-weight: bolder; padding 10px;}
.continue-web{background-color:aliceblue; padding:10px;}
.cent-ver{text-align:center; }
.borderbottom {border-bottom: 1px solid #f2eeed;}
.subhead {font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px;}
.h1, .h2, .bodycopy {color: #153643; font-family: sans-serif;}
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
.bodycopy {font-size: 14px; line-height: 20px;}
.bodycopy {font-size: 16px; line-height: 20px; padding-bottom:10px;}
.button {text-align: center; font-size: 16px; font-family: sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
.button a {color: #ffffff; text-decoration: none;}
.footer {padding: 20px 30px 15px 30px; bgcolor:#007bff; background-color:#007bff;}
.footercopy {font-family: sans-serif; font-size: 14px; color: #ffffff;}
.footercopy {font-family: sans-serif; font-size: 16px; color: #ffffff;}
.footercopy a {color: #ffffff; text-decoration: underline;}
</style>
</head>
<body yahoo bgcolor="#f6f8f1">
<table width="100%" bgcolor="#f6f8f1" border="0" cellpadding="0" cellspacing="0">
<body style="margin: 0; padding: 10px; min-width: 100%!important; font-size: 16px; line-height: 20px; font-family: sans-serif; background-color:#f6f8f1;" bgcolor="#f6f8f1; padding: 10px;">
<table style="max-width:640px; margin:0px auto auto auto" bgcolor="#f6f8f1" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<!--[if (gte mso 9)|(IE)]>
<table width="600" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table bgcolor="#ffffff" class="content" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td bgcolor="#c7d8a7" class="header">
<!--[if (gte mso 9)|(IE)]>
<table width="100%" align="left" cellpadding="0" cellspacing="0" border="0">
<td class="header">
<table align="left" border="0" cellpadding="0" cellspacing="0" style="width: 100%; max-width: 600px;">
<tr>
<td>
<![endif]-->
<table class="col425" align="left" border="0" cellpadding="0" cellspacing="0" style="width: 100%; max-width: 425px;">
<tr>
<td height="50">
<td height="30" border="0" style="text-align:center;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="h1" style="padding: 5px 0 0 0;">
{{site_name}}
<td style="padding: 1px 0 1px 0; text-align:center;">
<a href="https://www.wrenchboard.com/"><img src="https://www.wrenchboard.com/assets/ext/images/wrenchboard.png" alt="WrenchBoard"></a> <!-- {{site_name}} -->
</td>
</tr>
<tr>
<td class="subhead" style="padding: 0 0 0 3px;">
{{site_trade_name}}
<td class="subhead"
style="font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px; color:black; padding: 0 0 0 3px; text-align:center;">
{{site_trade_name}}
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
<tr>
<td class="innerpadding borderbottom">
<td class="innerpadding borderbottom" style="padding: 10px 10px 10px 10px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<b>Hello {{firstname}}</b>,
<td class="bodycopy" style="padding-bottom:10px;">
Hello <b>{{firstname}}</b>,
</td>
</tr>
<tr>
<td class="bodycopy">
You have task that are in past due status as shown below, Please log in to close the items.
</td>
</tr>
</table>
<td class="bodycopy" style="padding-bottom:10px;">
&nbsp;&nbsp; You have task that are in past due status as shown below, Please log in to close the items.
</td>
</tr>
<tr>
<td class="innerpadding borderbottom">
<!--[if (gte mso 9)|(IE)]>
<table width="100%" align="left" cellpadding="0" cellspacing="0" border="0">
<td class="bodycopy" style="padding: 10px 50px 10px 50px;">
<hr size="1" style="color:lightgrey; size=1" />
</td>
</tr>
<tr>
<td>
<![endif]-->
<table class="col380" align="left" border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class="bodycopy" style="font-size: 14px; font-family: sans-serif; border: 1px solid #f2eeed; background-color:#e6f9ff;">
<td class="bodycopy" style="padding:20px auto 40px auto; font-weight:bold; font-size 20px; color:darkgreen; background-color: #e8f6f3; border-radius:10px; ">
<tr>
<td class="bodycopy">
<table border="0" width='100%;' id="table1" style="font-family: Trebuchet MS; font-size: 10pt ">
<table border="0" width='100%;' id="table1" style="font-family: Trebuchet MS; font-size: 10pt ">
{{\inv_items}}
{{...}}
{{pin}}
{{...}}
{{pin}}
{{/...}}
{{/inv_items}}
</table
</table>
</td>
</tr>
<tr>
<td class="bodycopy" style="padding-bottom:10px;">
&nbsp;&nbsp; <a href ="{{server_name}}/login">Login</a> into your account to manage your task(s).
</td>
</tr>
<tr>
<tr class="innerpadding borderbottom" style="padding: 10px 10px 10px 10px;">
<td class="innerpadding borderbottom">
<table width="100%" border="0" >
<tr>
<td style="text-align:center;">
<a href="https://apps.apple.com/us/app/wrenchboard/id1435718367?ls=1">
<img width="200" height="auto" src="{{server_name}}/assets/images/download/apple.jpg" alt="Apple" border="0" />
</a>
</td>
<td style="text-align:center;">
<a href="https://apps.apple.com/us/app/wrenchboard/id1435718367?ls=1">
<img width="200" height="auto" src="{{server_name}}/assets/images/download/android.jpg" alt="Android" border="0" />
</a>
</td>
</tr>
</table>
</td>
</tr>
<td class="bodycopy">
<div style="background-color:#fce6f2; margin-top: 10px; padding: 5px; border-radius: 10px;">
&nbsp;&nbsp;We value your privacy. If you did not initiate this process or have any further support questions, don't hesitate to get in touch with us at {{server_name}}/contact<br>
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td><br> <a href ="{{server_name}}/login">Login</a> into your account to manage your task(s).
</td>
</tr>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
<tr>
<td class="innerpadding borderbottom">
<img class="fix" src={{server_name}}/assets/images/wrenchboard_email_banner.jpg" width="100%" border="0" alt="" />
</td>
</tr>
<tr>
<td class="innerpadding bodycopy">
Please contact us at https://www.wrenchboard.com/contact if you have any question about this email.
</td>
</tr>
<tr>
<td class="innerpadding bodycopy">
<td class="innerpadding bodycopy" style="padding: 10px 10px 10px 10px;">
{{site_name}} Team
<br>
{{server_name}}
</td>
</tr>
<tr>
<td class="footer">
<td class="footer" style="color:#ffffff; padding: 20px 30px 15px 30px; bgcolor:#007bff; background-color:#007bff; border-radius: 10px 10px 10px 10px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="footercopy">
&reg; {{site_name}} {{YYYY}}<br/>
You received this email because you subscribe to {{site_name}}. If you get this email in error, please <a href="{{main_site_url}}contact" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
You received this email because you subscribed to the {{site_name}} questionnaire. If you get this email in error please <a href="{{main_site_url}}contact" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
</td>
</tr>
<tr>
@@ -182,11 +166,6 @@ You received this email because you subscribe to {{site_name}}. If you get this
</td>
</tr>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</table>
+1 -1
View File
@@ -262,7 +262,7 @@ long cron_email(long mailtype, CVars in, CVars &out) {
CVars rec;
map_to_cvars(f, rec);
sprintf(listing_items, "<TR><td style='background-color:#%s'>%s</td><td>%s</td><td><b>%s</b><br>%s</td></TR>", in["color"].c_str(), rec["project"].c_str(), rec["detail"].c_str(), rec["status"].c_str(), rec["delivery_date"].c_str());
sprintf(listing_items, "<TR style='background-color:#%s'><td >%s</td><td>%s</td><td><b>%s</b><br>%s</td></TR>", in["color"].c_str(), rec["project"].c_str(), rec["detail"].c_str(), rec["status"].c_str(), rec["delivery_date"].c_str());
inv_list->LetStr("pin", listing_items);
inv_list->CloseElement();
//<hr size=1 color=#FF0000>