156 lines
11 KiB
PHP
156 lines
11 KiB
PHP
|
<!doctype html>
|
||
|
<body style="background-color:#e2e1e0;font-family: Open Sans, sans-serif;font-size:100%;font-weight:400;line-height:1.4;color:#000;">
|
||
|
|
||
|
<?php
|
||
|
$paid_amount = $paid_date = '';
|
||
|
$data_content = json_decode($student_data['payment_method']);
|
||
|
|
||
|
foreach ($data_content as $key => $value) {
|
||
|
if ($value->payment_status == 'yes') {
|
||
|
$paid_amount = $value->paid_amount;
|
||
|
$paid_date = $value->paid_date;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
$number_to_String = array("", 'First', 'Second', 'Third', 'Fourth', 'Fifth', 'Sixth');
|
||
|
?>
|
||
|
<table style=" max-width: 670px;margin:50px auto 10px;background-color:#fff;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);-moz-box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24); line-height: 25px;">
|
||
|
<tr>
|
||
|
<td colspan="3">
|
||
|
<table style="width:100%;">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th colspan="3" style="padding: 13px;border-bottom: 2px solid #032da1;background: #032da1;width:100%;">
|
||
|
<img src="<?= $baseurl; ?>common_assets/<?= $school_info['color_logo']; ?>" style="width: 94px;">
|
||
|
</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
</table>
|
||
|
<table style="padding:20px 30px;width:100%;">
|
||
|
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<td style="padding: 0; font-weight: 500;font-size: 14px;"> Dear <?php echo $student_data['student_name'] ?>,</td>
|
||
|
<td></td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="3" style="text-align: center;padding: 10px 10px 10px;font-size: 14px;">
|
||
|
<img src="<?= $baseurl; ?>assets_student/images/email-tem-4.png" style="width: 200px;">
|
||
|
<p style="font-weight: 700;width: 85%;margin: auto;text-align: left;font-size: 13px;">Thank you for making <?php echo $student_data['fee_type_name']; ?></p>
|
||
|
<p style="width: 95%;text-align: left;margin: 10px auto 0;font-weight: 700;font-size: 13px;">Your credentials</p>
|
||
|
<ul style="list-style-type: none;text-align: left;width: 95%;padding: 0;margin: auto;">
|
||
|
<li>
|
||
|
<label style="margin-right: 2px;font-size: 13px;">Your student login id :</label>
|
||
|
<span style="width: 200px;display: inline-block;vertical-align: top;font-size: 13px;"><?php echo $student_data['student_id'] ?></span>
|
||
|
</li>
|
||
|
<li>
|
||
|
<label style="margin-right: 2px;font-size: 13px;">Your login password :</label>
|
||
|
<span style="width: 200px;display: inline-block;vertical-align: top;font-size: 13px;">Password the one used at application</span>
|
||
|
</li>
|
||
|
<li>
|
||
|
<label style="margin-right: 30px;font-size: 13px;">Login portal link :</label>
|
||
|
<a href="<?php echo $school_info['website_link'].'student'?>"><span style="width: 200px;display: inline-block;vertical-align: top;font-size: 13px;"><?php echo $school_info['website_link'].'student'; ?></span></a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<!-- <td colspan="3" style="text-align: center;padding: 0 0 10px">
|
||
|
<button style="background: #042ea2;color: #fff;border: 0;border-radius: 6px;padding: 10px 21px;border-radius: 6px;font-size: 13px;">Make Payment</button>
|
||
|
</td> -->
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="3">
|
||
|
<table style="width: 100%;border: 2px solid #032da1;border-radius: 10px;padding: 10px;">
|
||
|
<tr>
|
||
|
<td colspan="2"><h5 style="color: #032DA1;margin: 0 10px;font-size: 15px;">Payment details</h5></td>
|
||
|
<td style="vertical-align: top;text-align: right;font-size: 13px;">Date: <span><?php echo date('d-m-Y', strtotime($paid_date)) ?></span></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="3">
|
||
|
<ul style="list-style-type: none;padding: 0 10px;margin:0;">
|
||
|
<li style="font-size: 13px;"><label style="font-weight: 500;margin-right: 50px;">Student Name :</label><?php echo $student_data['student_name']; ?></li>
|
||
|
<li style="font-size: 13px;"><label style="font-weight: 500;margin-right: 52px;">Course Name : </label><?php echo $student_data['course_name']; ?></li>
|
||
|
<li style="font-size: 13px;"><label style="font-weight: 500;margin-right: 17px;">Your payment type : </label><?php echo $student_data['fee_details']; ?></li>
|
||
|
<li style="font-size: 13px;"><label style="font-weight: 500;margin-right: 56px;">Amount Paid : </label><?php echo $school_info['currency_symbol'] .' '.$paid_amount ?></li>
|
||
|
</ul>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="3">
|
||
|
<h5 style="margin-bottom: 10px;font-size: 15px;margin-top: 10px;">Fee Detail's :</h5>
|
||
|
<ul style="list-style-type: none;padding: 0;margin-top: 0;margin-bottom: 0;">
|
||
|
<?php
|
||
|
$data_content = json_decode($student_data['payment_method']);
|
||
|
|
||
|
foreach ($data_content as $key => $value) {
|
||
|
if ($value->payment_status == 'yes') {
|
||
|
|
||
|
?>
|
||
|
<li style="margin-bottom: 5px;font-size: 13px;">
|
||
|
<img src="<?= $baseurl; ?>assets_student/images/email-b.png" style="margin-right: 10px;">
|
||
|
<label style="font-weight: 500;margin-right: 15px;display: inline-block;width: 112px;"><?php echo $number_to_String[$value->install_sno] ?> Payment</label><?php echo $school_info['currency_symbol'] .' '. $value->paid_amount ?><span style="margin-left: 25px;">Paid</span>
|
||
|
</li>
|
||
|
<?php } else{ ?>
|
||
|
<li style="font-size: 13px;margin-bottom: 5px;">
|
||
|
<img src="<?= $baseurl; ?>assets_student/images/email-w.png" style="margin-right: 10px;"><label style="font-weight: 500;margin-right: 15px;display: inline-block;
|
||
|
width: 114px;"><?php echo $number_to_String[$value->install_sno] ?> Payment</label><?php echo $school_info['currency_symbol'] .' '. $value->feeamount ?><span style="margin-left: 25px;">Last due date : <?php echo date('d-m-Y', strtotime($value->due_date)) ?></span>
|
||
|
</li>
|
||
|
<?php } } ?>
|
||
|
</ul>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="3">
|
||
|
<table style="width: 100%;background: #032da1;margin-top: 0;color: #fff;padding:10px 20px">
|
||
|
<tr>
|
||
|
<td colspan="2">
|
||
|
<ul style="list-style-type: none;padding: 0;">
|
||
|
<li style="margin-bottom: 4px;">
|
||
|
<a href="<?php echo $school_info['website_link'] ?>" style="color: #fff;text-decoration: none;font-size: 14px;">
|
||
|
<img src="<?= $baseurl; ?>assets_student/images/email-web.png" style="width: 20px;margin-right: 10px;vertical-align: middle;"><?php echo $school_info['website_link'] ?></a>
|
||
|
</li>
|
||
|
<li style="margin-bottom: 4px;">
|
||
|
<a href="mailto:<?php echo $school_info['email'] ?>" style="color: #fff;text-decoration: none;font-size: 14px;">
|
||
|
<img src="<?= $baseurl; ?>assets_student/images/email-email.png" style="width: 20px;margin-right: 10px;vertical-align: middle;"><?php echo $school_info['email'] ?></a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</td>
|
||
|
<td style="text-align: center;">
|
||
|
<h5 style="margin: 10px 0 0;">Follow us on</h5>
|
||
|
<ul style="padding: 0;list-style-type: none;">
|
||
|
<li style="display: inline-block;margin: 0 3px;">
|
||
|
<a href="<?php echo $school_info['facebook']; ?>">
|
||
|
<img src="<?= $baseurl; ?>assets_student/images/email-fb.png">
|
||
|
</a>
|
||
|
</li>
|
||
|
<li style="display: inline-block;margin: 0 3px;">
|
||
|
<a href="<?php echo $school_info['instagram']; ?>">
|
||
|
<img src="<?= $baseurl; ?>assets_student/images/email-insta.png">
|
||
|
</a>
|
||
|
</li>
|
||
|
<li style="display: inline-block;margin: 0 3px;">
|
||
|
<a href="<?php echo $school_info['twitter']; ?>">
|
||
|
<img src="<?= $baseurl; ?>assets_student/images/email-tw.png">
|
||
|
</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr style="text-align:center;">
|
||
|
<td style="color: #fff;text-decoration: none;font-size: 12px;"> Powered By : <?php echo $school_info['school_name'] ?></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|