fix offer to site email

This commit is contained in:
CHIEFSOFT\ameye
2024-10-27 14:06:15 -04:00
parent 30f424e9b7
commit 1c3fe1b41e
2 changed files with 77 additions and 84 deletions
+74 -78
View File
@@ -5,7 +5,7 @@ Subject: {{subject}} - {{title}}
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{{title}}</title> <title>{{subject}}</title>
<style type="text/css"> <style type="text/css">
body {margin: 0; padding: 0; min-width: 100%!important;} body {margin: 0; padding: 0; min-width: 100%!important;}
img {height: auto;} img {height: auto;}
@@ -16,6 +16,7 @@ img {height: auto;}
.subhead {font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px;} .subhead {font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px;}
.h1, .h2, .bodycopy {color: #153643; font-family: sans-serif;} .h1, .h2, .bodycopy {color: #153643; font-family: sans-serif;}
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;} .h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
.sect-text {font-weight:bold; text-align: right;}
.bodycopy {font-size: 14px; line-height: 20px;} .bodycopy {font-size: 14px; line-height: 20px;}
.button {text-align: center; font-size: 16px; font-family: sans-serif; font-weight: bold; padding: 0 30px 0 30px;} .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;} .button a {color: #ffffff; text-decoration: none;}
@@ -36,96 +37,76 @@ img {height: auto;}
<![endif]--> <![endif]-->
<table bgcolor="#ffffff" class="content" align="center" cellpadding="0" cellspacing="0" border="0"> <table bgcolor="#ffffff" class="content" align="center" cellpadding="0" cellspacing="0" border="0">
<tr> <tr>
<td bgcolor="#c7d8a7" class="header"> <td bgcolor="#ffffff" class="header">
<!--[if (gte mso 9)|(IE)]>
<table width="100%" align="left" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table class="col425" align="left" border="0" cellpadding="0" cellspacing="0" style="width: 100%; max-width: 600px;">
<tr>
<td height="50">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<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>
</td>
</tr>
<tr>
<td class="subhead" style="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">
<table width="100%" border="0" cellspacing="0" cellpadding="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<td class="bodycopy"> <td class="h1" style="padding: 0px 0 0 0; text-align:center;">
Dear {{firstname}}, <a href="https://www.wrenchboard.com/"><img src="https://www.wrenchboard.com/assets/ext/images/wrenchboard.png" alt="WrenchBoard"></a>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="bodycopy"> <td class="subhead" style="padding: 0 0 0 3px; text-align:center; color:black;">
You have posted a job offer at <a href="https://{{server_name}}">{{site_name}}</a> to the public domain with details below. {{site_trade_name}}
</td>
</td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="innerpadding borderbottom"> <td class="innerpadding borderbottom">
<table width="100%" border="0" cellspacing="0" cellpadding="5px;">
<table class="col380" align="left" border="0" cellpadding="0" cellspacing="0" style="width: 100%; max-width: 380px;">
<tr> <tr>
<td> <td class="bodycopy">
<b> Dear {{firstname}},</b>,
</td>
</tr>
<tr>
<td class="bodycopy">
&nbsp;&nbsp; You have posted a job offer at <a href="https://{{server_name}}">{{site_name}}</a> to the public domain with details below.
</td>
</tr>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="bodycopy">
<tr> <tr>
<td> <td>
Title <hr size="1">
</td>
</tr>
<tr>
<td>
<div style="background-color:aliceblue; border-radius: 10px; padding: 10px;">
<table width="100%" border="0" cellspacing="1" cellpadding="2" class="bodycopy" style="font-size: 14px; font-family: sans-serif; border: 1px solid #f2eeed;">
<tr>
<td width="100px" class="sect-text">
Title :
</td> </td>
<td class="bodycopy"> <td class="bodycopy">
{{title}} {{title}}
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td class="sect-text">
Offer ID Offer ID :
</td> </td>
<td class="bodycopy"> <td class="bodycopy">
{{offer_code}} <a href ="{{server_name}}/eoffer?offerID={{offer_code}}">{{offer_code}}</a>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td class="sect-text">
Description Description :
</td> </td>
<td class="bodycopy"> <td class="bodycopy">
{{description}} {{description}}
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <tr>
Duration <td class="sect-text">
Duration :
</td> </td>
<td class="bodycopy"> <td class="bodycopy">
{{timeline_days}} day(s) {{timeline_days}} day(s)
@@ -133,47 +114,61 @@ Duration
</tr> </tr>
<tr> <tr>
<td> <td class="sect-text">
Price Reward :
</td> </td>
<td class="bodycopy"> <td class="bodycopy">
{{price}} {{currency}} {{price}} {{currency}}
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td class="sect-text">
Detail Detail :
</td> </td>
<td class="bodycopy"> <td class="bodycopy">
{{job_description}} {{job_description}}
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td class="sect-text">
Offer Expire Offer Expire :
</td> </td>
<td class="bodycopy"> <td class="bodycopy">
{{expire}} {{expire}}
</td> </td>
</tr> </tr>
</table> </table>
</div>
</td>
</td> </tr>
</table>
</td>
</tr>
<tr>
<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 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 src="{{server_name}}/assets/images/download-android.jpg" alt="Android" border="0" />
</a>
</td>
</tr> </tr>
</table> </table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="innerpadding bodycopy"> <td class="innerpadding bodycopy">
Please contact us at https://www.wrenchboard.com/contact if you have any question about this email. &nbsp;&nbsp; Please contact us at https://www.wrenchboard.com/contact if you have any question about this email.
</td> </td>
</tr> </tr>
<tr> <tr>
@@ -185,12 +180,13 @@ Please contact us at https://www.wrenchboard.com/contact if you have any questio
</tr> </tr>
<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"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<td align="center" class="footercopy"> <td align="center" class="footercopy">
&reg; {{site_name}} {{YYYY}}<br/> &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. &nbsp;&nbsp;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.
</td> </td>
</tr> </tr>
<tr> <tr>
+2 -5
View File
@@ -88,9 +88,8 @@ $routes->group('/en/wrench/api/v1/', static function ($routes) {
$routes->post('jobmanagerdeletejob', 'WrenchApi::apigate'); $routes->post('jobmanagerdeletejob', 'WrenchApi::apigate');
$routes->post('jobgrouplist', 'WrenchApi::apigate'); $routes->post('jobgrouplist', 'WrenchApi::apigate');
$routes->post('jobgroupadd', 'WrenchApi::apigate'); $routes->post('jobgroupadd', 'WrenchApi::apigate');
$routes->post('groupmemberadd', 'WrenchApi::apigate'); $routes->post('groupmemberadd', 'WrenchApi::apigate');
$routes->post('groupmemberdel', 'WrenchApi::apigate'); $routes->post('groupmemberdel', 'WrenchApi::apigate');
}); });
//$routes->post('/en/wrench/api/v1/jobmanageragree', 'WrenchApi::apigate'); //$routes->post('/en/wrench/api/v1/jobmanageragree', 'WrenchApi::apigate');
@@ -125,8 +124,6 @@ $routes->post('/en/wrench/api/v1/getwallets', 'WrenchApi
//$routes->post('/en/wrench/api/v1/wallets/card/request', 'WrenchWallet::requestVirtualCard'); //$routes->post('/en/wrench/api/v1/wallets/card/request', 'WrenchWallet::requestVirtualCard');
$routes->group('/en/wrench/api/v1/', static function ($routes) { $routes->group('/en/wrench/api/v1/', static function ($routes) {
// $routes->get('users', 'Admin\Users::index');
//$routes->get('blog', 'Admin\Blog::index');
$routes->post('wallets', 'WrenchWallet::getWallet'); $routes->post('wallets', 'WrenchWallet::getWallet');
$routes->post('kidwallets', 'WrenchWallet::getKidWallet'); $routes->post('kidwallets', 'WrenchWallet::getKidWallet');
$routes->post('wallets/escrols', 'WrenchWallet::getEscrols'); $routes->post('wallets/escrols', 'WrenchWallet::getEscrols');