fix
This commit is contained in:
@@ -105,7 +105,7 @@ Subject: {{subject}} - {{title}}
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="2" class="bodycopy" style="font-size: 14px; font-family: sans-serif; border: 1px solid #f2eeed; background-color:#e6f9ff;">
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="2" class="bodycopy" style="font-size: 14px; font-family: sans-serif; border: 1px solid #f2eeed; background-color:#eaf7fb;">
|
||||
<tr>
|
||||
<td class="sect-text">
|
||||
Title
|
||||
@@ -123,14 +123,6 @@ Offer ID
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sect-text">
|
||||
Description
|
||||
</td>
|
||||
<td class="bodycopy">
|
||||
{{description}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="sect-text">
|
||||
Duration
|
||||
|
||||
@@ -105,7 +105,7 @@ Subject: {{subject}} - {{title}}
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="2" class="bodycopy" style="font-size: 14px; font-family: sans-serif; border: 1px solid #f2eeed; background-color:#e6f9ff;">
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="2" class="bodycopy" style="font-size: 14px; font-family: sans-serif; border: 1px solid #f2eeed; background-color:#eaf7fb;">
|
||||
<tr>
|
||||
<td class="sect-text">
|
||||
Title
|
||||
@@ -122,15 +122,6 @@ Offer ID
|
||||
<a href ="{{server_name}}/eoffer?offerID={{offer_code}}">{{offer_code}}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sect-text">
|
||||
Description
|
||||
</td>
|
||||
<td class="bodycopy">
|
||||
{{description}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="sect-text">
|
||||
Duration
|
||||
|
||||
@@ -553,7 +553,9 @@ 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,jo.email AS job_email,to_char(now(), 'yyyy') AS YYYY "
|
||||
" j.description,j.timeline_days,j.price,o.member_id,j.title, "
|
||||
" (CASE WHEN o.email IS NULL THEN 'Public View' ELSE o.email END) AS job_email, "
|
||||
" o.offer_code,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);
|
||||
|
||||
Reference in New Issue
Block a user