From 14aa8859c70a8701dcf69fb5267c7cbe3f03ad24 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Mon, 23 Sep 2024 18:51:09 -0400 Subject: [PATCH] past due email --- wrenchboard/email/JOB/job_pastdue_m.mailfile | 161 ++++++++----------- wrenchboard/src/shared_tool/email.cc | 2 +- 2 files changed, 71 insertions(+), 92 deletions(-) diff --git a/wrenchboard/email/JOB/job_pastdue_m.mailfile b/wrenchboard/email/JOB/job_pastdue_m.mailfile index e422f3ce..914185c6 100644 --- a/wrenchboard/email/JOB/job_pastdue_m.mailfile +++ b/wrenchboard/email/JOB/job_pastdue_m.mailfile @@ -1,163 +1,147 @@ -Subject: {{subject}} +Subject: {{subject}} - - + {{subject}} - - + +
", in["color"].c_str(), rec["project"].c_str(), rec["detail"].c_str(), rec["status"].c_str(), rec["delivery_date"].c_str()); + sprintf(listing_items, "", 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(); //
- - + - - - - - - - - - - - - -
- - - - -
+ - -
- {{site_name}} + +WrenchBoard
- {{site_trade_name}} + +{{site_trade_name}}
-
+ - - - -
-Hello {{firstname}}, + +Hello {{firstname}},
-You have task that are in past due status as shown below, Please log in to close the items. - -
+
+   You have task that are in past due status as shown below, Please log in to close the items.
- - - - + + - - -
- + - - + + + - + + + + +
- -
- +
{{\inv_items}} -{{...}} -{{pin}} +{{...}} +{{pin}} {{/...}} {{/inv_items}} -
+ +
+   Login into your account to manage your task(s).
+ + + + + +
+ + Apple + + + + Android + +
+
+
+  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
+
- +

Login into your account to manage your task(s). -
- -
- -
-Please contact us at https://www.wrenchboard.com/contact if you have any question about this email. -
+ {{site_name}} Team
{{server_name}}
diff --git a/wrenchboard/src/shared_tool/email.cc b/wrenchboard/src/shared_tool/email.cc index 18b6df53..96a5131f 100644 --- a/wrenchboard/src/shared_tool/email.cc +++ b/wrenchboard/src/shared_tool/email.cc @@ -262,7 +262,7 @@ long cron_email(long mailtype, CVars in, CVars &out) { CVars rec; map_to_cvars(f, rec); - sprintf(listing_items, "
%s%s%s
%s
%s%s%s
%s