diff --git a/wrenchboard/email/JOB/job_offer_sendtome.mailfile b/wrenchboard/email/JOB/job_offer_sendtome.mailfile index 85418366..baac8ab9 100644 --- a/wrenchboard/email/JOB/job_offer_sendtome.mailfile +++ b/wrenchboard/email/JOB/job_offer_sendtome.mailfile @@ -1,212 +1,237 @@ -Subject: {{subject}} +Subject: {{subject}} - {{title}} - + - -{{site_name}} - {{subject}}. - + - +
- - - - - + + + + + +
+ + + + + + + + + + + + + + + + + - - - - -
+ + + + + + + +
+ WrenchBoard +
+ {{site_trade_name}} +
+ +
+ + + + + + - - - - - - - - - - - - -
+ Hi, {{firstname}}, +
+ You have sent a job offer from a {{site_name}} user with details below to {{job_email}}. - - - - - -
- + - - - - - -
+ Offer Expire : {{expire2}} +
-{{site_name}} -
-{{site_trade_name}} -
-
- -
- - - - - -
-{{title}}, -
-
- -
- - - -
-Visit {{site_name}}! to learn more. -
- - - - - -
- +
+ + + + + - + + + + - - - - - + + +
Title -{{title}} +{{title}}
-Description + +Offer ID -{{description}} +{{offer_code}} +
+ Description + + {{description}}
-Duration + + Duration -{{timeline_days}} day(s) + {{timeline_days}} day(s)
-Price + + Price -{{price}} Naira + {{price}} Naira
+
+Detail +{{job_description}} +
-
- -
- -
-{{firstname}} {{lastname}} @ {{site_name}} +
+
+ + + + + +
+ + Apple + + + + Android + +
+
+ Please contact us at https://www.wrenchboard.com/contact if you have any question about this email. +
+{{site_name}} Team
{{server_name}} -
- -
+ +
- \ No newline at end of file + diff --git a/wrenchboard/src/shared_tool/email.cc b/wrenchboard/src/shared_tool/email.cc index ec46d454..95e70453 100644 --- a/wrenchboard/src/shared_tool/email.cc +++ b/wrenchboard/src/shared_tool/email.cc @@ -553,7 +553,7 @@ long job_email(long mailtype, CVars in, CVars &out) { case JOBS_OFFER_SENDTOME_MAIL: if (load_db_record(x, "SELECT o.*,to_char(o.expire, 'Day Mon dd, yyyy HH:MI AM') AS expire2,j.title," - " j.description,j.timeline_days,j.price,o.member_id,j.title,o.offer_code " + " j.description,j.timeline_days,j.price,o.member_id,j.title,o.offer_code,jo.email AS job_email,to_char(now(), 'yyyy') AS YYYY " " FROM members_jobs_offer o " " LEFT JOIN members_jobs j ON j.id =o.job_id WHERE o.offer_code = '%s'", in["offer_code"].c_str())) { vars2form(x, form);