Who invited

This commit is contained in:
CHIEFSOFT\ameye
2024-07-23 13:57:22 -04:00
parent d6507bbb45
commit 8ecd516e7c
2 changed files with 7 additions and 3 deletions
@@ -71,8 +71,8 @@ Dear <b> {{firstname}}</b>,
<tr>
<tr>
<td class="bodycopy" style="text-align:center">
IT_WILL_NICE_TO_SAY_WHO
<td class="bodycopy" style="text-align:center;">
<b>Invitation from {{inv_firstname}} {{inv_lastname}}</b>
</td>
</tr>
<tr>
@@ -99,7 +99,8 @@ IT_WILL_NICE_TO_SAY_WHO
<tr>
<td class="bodycopy">
<br>
WrenchBoard offers a unique space for our family to stay connected, share updates, and manage important tasks together. By joining, you'll have access to our shared calendar, photo albums, and group messages.
WrenchBoard offers a unique space for our family to stay connected, share updates, and manage important tasks together. <br>
By joining, you'll have access to our shared calendar, photo albums, and group messages.
</td>
</tr>
+3
View File
@@ -396,6 +396,7 @@ long family_email(long mailtype, CVars in, CVars &out) {
//REQ_LONG( in, "member_id", 1, -1 );
CVars x;
CVars y;
C_CGI_Form form("", "");
CGIList * inv_list = new CGIList(&form, "inv_items");
@@ -429,7 +430,9 @@ long family_email(long mailtype, CVars in, CVars &out) {
case WRENCHBOARD_RELATIVES_REMINDER:
load_db_record(x, "SELECT * FROM members_family_relative WHERE id = %lu ",out["relative_id"].Long());
load_db_record(y, "SELECT firstname AS inv_firstname, lastname AS inv_lastname FROM members WHERE id = %lu ",x["member_id"].Long());
vars2form(x, form);
vars2form(y, form);
form.LetStr("subject", "Invitation to Join Our Family Platform on WrenchBoard");
form.LetStr("email", x["email"].c_str());
form.Email("FAMILY/family_relative_invite.mailfile");