golf_backend/app/Views/failed_mail.php
2023-07-24 16:20:14 +05:30

94 lines
6.0 KiB
PHP

<!doctype html>
<html lang="en-US">
<head>
<body marginheight="0" topmargin="0" marginwidth="0" style="margin: 0px; background-color: #f2f3f8;" leftmargin="0">
<table cellspacing="0" border="0" cellpadding="0" width="100%" bgcolor="#f2f3f8"
style="@import url(https://fonts.googleapis.com/css?family=Rubik:300,400,500,700|Open+Sans:300,400,600,700); font-family: 'Open Sans', sans-serif;">
<tr>
<td>
<table style="background-color: #f2f3f8; max-width:670px; margin:0 auto;" width="100%" border="0"
align="center" cellpadding="0" cellspacing="0">
<!-- Email Content -->
<tr>
<td>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0"
style="max-width:670px; background:#fff; border-radius:3px;-webkit-box-shadow:0 6px 18px 0 rgba(0,0,0,.06);-moz-box-shadow:0 6px 18px 0 rgba(0,0,0,.06);box-shadow:0 6px 18px 0 rgba(0,0,0,.06);padding:0 40px;">
<tr>
<td style="height:40px;">&nbsp;</td>
</tr>
<!-- Title -->
<tr>
<td style="padding:0 15px; text-align:center;">
<h1 style="color: red; font-weight:400; margin:0;font-size:32px;font-family:'Rubik',sans-serif;"> Payment Failed! </h1>
<span style="display:inline-block; vertical-align:middle; margin:29px 0 26px; border-bottom:1px solid #cecece;
width:100px;"></span>
</td>
</tr>
<!-- Details Table -->
<tr>
<td>
<table cellpadding="0" cellspacing="0" style="width: 100%; border: 2px solid #ededed">
<tbody>
<tr>
<td
style="padding: 10px; border-bottom: 1px solid #ededed; border-right: 1px solid #ededed; width: 35%; font-weight:500; color:rgba(0,0,0,.64)">
Order Id :</td>
<td
style="padding: 10px; border-bottom: 1px solid #ededed; color: #455056;">
<?= $order_id; ?></td>
</tr>
<tr>
<td
style="padding: 10px; border-bottom: 1px solid #ededed; border-right: 1px solid #ededed; width: 35%; font-weight:500; color:rgba(0,0,0,.64)">
Transaction Date :</td>
<td
style="padding: 10px; border-bottom: 1px solid #ededed; color: #455056;">
<?= $formattedDate; ?></td>
</tr>
<tr>
<td
style="padding: 10px; border-bottom: 1px solid #ededed; border-right: 1px solid #ededed; width: 35%; font-weight:500; color:rgba(0,0,0,.64)">
Payment Failed Details :</td>
<td
style="padding: 10px; border-bottom: 1px solid #ededed; color: #455056;">
<?= $detail; ?></td>
</tr>
<tr>
<td
style="padding: 10px; border-bottom: 1px solid #ededed; border-right: 1px solid #ededed; width: 35%; font-weight:500; color:rgba(0,0,0,.64)">
Transaction by :</td>
<td
style="padding: 10px; border-bottom: 1px solid #ededed; color: #455056;">
<?= $profile[0]['name']." ".$profile[0]['last_name'] ?>
<?php
if($profile[0]['mobile'] != ''){
$phone_number = preg_replace('/[^\w]_/', '', $profile[0]['mobile']);
echo "(".$phone_number.")"; }
?>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="height:40px;">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height:20px;">&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>