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
+75 -79
View File
@@ -5,7 +5,7 @@ Subject: {{subject}} - {{title}}
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{{title}}</title>
<title>{{subject}}</title>
<style type="text/css">
body {margin: 0; padding: 0; min-width: 100%!important;}
img {height: auto;}
@@ -16,6 +16,7 @@ img {height: auto;}
.subhead {font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px;}
.h1, .h2, .bodycopy {color: #153643; font-family: sans-serif;}
.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;}
.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;}
@@ -36,96 +37,76 @@ img {height: auto;}
<![endif]-->
<table bgcolor="#ffffff" class="content" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td bgcolor="#c7d8a7" 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">
<td bgcolor="#ffffff" class="header">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="bodycopy">
Dear {{firstname}},
</td>
<td class="h1" style="padding: 0px 0 0 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="bodycopy">
You have posted a job offer at <a href="https://{{server_name}}">{{site_name}}</a> to the public domain with details below.
</td>
<td class="subhead" style="padding: 0 0 0 3px; text-align:center; color:black;">
{{site_trade_name}}
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="innerpadding borderbottom">
<table class="col380" align="left" border="0" cellpadding="0" cellspacing="0" style="width: 100%; max-width: 380px;">
<table width="100%" border="0" cellspacing="0" cellpadding="5px;">
<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>
<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 class="bodycopy">
{{title}}
</td>
</tr>
<tr>
<td>
Offer ID
<td class="sect-text">
Offer ID :
</td>
<td class="bodycopy">
{{offer_code}}
<a href ="{{server_name}}/eoffer?offerID={{offer_code}}">{{offer_code}}</a>
</td>
</tr>
<tr>
<td>
Description
<td class="sect-text">
Description :
</td>
<td class="bodycopy">
{{description}}
</td>
</tr>
<tr>
<td>
Duration
<tr>
<td class="sect-text">
Duration :
</td>
<td class="bodycopy">
{{timeline_days}} day(s)
@@ -133,47 +114,61 @@ Duration
</tr>
<tr>
<td>
Price
<td class="sect-text">
Reward :
</td>
<td class="bodycopy">
{{price}} {{currency}}
</td>
</tr>
<tr>
<td>
Detail
<td class="sect-text">
Detail :
</td>
<td class="bodycopy">
{{job_description}}
</td>
</tr>
<tr>
<td>
Offer Expire
<td class="sect-text">
Offer Expire :
</td>
<td class="bodycopy">
{{expire}}
</td>
</tr>
</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>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
<tr>
<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>
</tr>
<tr>
@@ -185,12 +180,13 @@ Please contact us at https://www.wrenchboard.com/contact if you have any questio
</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">
<tr>
<td align="center" class="footercopy">
&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>
</tr>
<tr>
@@ -225,4 +221,4 @@ You received this email because you subscribe to {{site_name}}. If you get this
</table>
</body>
</html>
</html>
+2 -5
View File
@@ -88,9 +88,8 @@ $routes->group('/en/wrench/api/v1/', static function ($routes) {
$routes->post('jobmanagerdeletejob', 'WrenchApi::apigate');
$routes->post('jobgrouplist', 'WrenchApi::apigate');
$routes->post('jobgroupadd', 'WrenchApi::apigate');
$routes->post('groupmemberadd', 'WrenchApi::apigate');
$routes->post('groupmemberdel', 'WrenchApi::apigate');
$routes->post('groupmemberadd', 'WrenchApi::apigate');
$routes->post('groupmemberdel', '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->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('kidwallets', 'WrenchWallet::getKidWallet');
$routes->post('wallets/escrols', 'WrenchWallet::getEscrols');