<?php
$data = isset($data) ? (object) $data : [];
?>
<div class="center">
<div style="background-color:#ffffff;">
<table bgcolor="#ffffff" height="100%" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" align="center" bgcolor="#Ffffff" background=""
style="background-color:#Ffffff;background-position:top center;background-repeat:repeat;">
<center class="wrapper" style="width:100%;table-layout:fixed;text-align:inherit;">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td>
<table cellpadding="0" cellspacing="0" border="0" width="100%"
style="background-color: #fff">
<tbody>
<tr>
<td style="background-color: #fff">
<table class="wrapper--outer" align="center"
style="box-sizing:border-box;border-spacing:0;border-collapse:collapse;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;width:100%;max-width:600px;margin-top:0;margin-bottom:0;margin-right:auto;margin-left:auto; background-color:#f3f3f3"
bgcolor="#000">
<tbody>
<tr style="padding:0;">
<td class="column--1 image"
style="border-collapse:collapse !important;word-break:break-word;font-family: Helvetica, Arial, sans-serif;font-weight:400;line-height:15.6px;color:#333333;font-size:0;padding:10px;">
<table width="100%" style="border-spacing:0;border-collapse:collapse;">
<tbody>
<tr>
<td align="center" style="padding:10px;">
<a href="<?php echo e(env('FRONTEND_URL')); ?>" target="_blank">
<img ondragstart="return false;" width="150" src="<?php echo e(logoEmail()); ?>" alt="<?php echo e(env('APP_NAME')); ?>"
style="width:150px;max-width:150px;border-style:none;outline-style:none;-ms-interpolation-mode:bicubic;text-align:center;background: #f3f3f3">
</a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table cellpadding="0" cellspacing="0" border="0" width="100%"
style="background-color: #Ffffff">
<tr>
<td style="background-color: #Ffffff">
<table class="wrapper--outer" align="center"
style="box-sizing:border-box;border-spacing:0;border-collapse:collapse;padding:0;width:100%;max-width:600px;margin:0 auto;background-color:#FFFFFF"
bgcolor="#FFFFFF">
<tr>
<td style="padding:10px;">
<div style="text-align:left;">
<span style="color: rgb(51, 51, 51); font-size: 20px; font-family: arial, helvetica, sans-serif; line-height: 1.2;">
<p style="font-size: 16px;">
¡Hola <?php echo e(!empty($data->name) ? $data->name : ''); ?>!
</p>
<p style="font-size: 16px; text-align: justify;">
Te informamos que hemos registrado el siguiente pago asociado a tu proceso de matrícula en
<b><?php echo e(env('APP_NAME')); ?></b>:
</p>
<table width="100%" cellpadding="6" cellspacing="0" border="0" style="font-size:14px;border:1px solid #e5e7eb;border-collapse:collapse;margin:10px 0;">
<?php if(!empty($data->contract_code)): ?>
<tr>
<td style="border-bottom:1px solid #e5e7eb;"><b>Contrato</b></td>
<td style="border-bottom:1px solid #e5e7eb;"><?php echo e($data->contract_code); ?></td>
</tr>
<?php endif; ?>
<?php if(!empty($data->students)): ?>
<tr>
<td style="border-bottom:1px solid #e5e7eb;"><b>Alumno(s)</b></td>
<td style="border-bottom:1px solid #e5e7eb;"><?php echo e($data->students); ?></td>
</tr>
<?php endif; ?>
<?php if(!empty($data->concepts)): ?>
<tr>
<td style="border-bottom:1px solid #e5e7eb;"><b>Concepto(s)</b></td>
<td style="border-bottom:1px solid #e5e7eb;"><?php echo e($data->concepts); ?></td>
</tr>
<?php endif; ?>
<?php if(!empty($data->amount)): ?>
<tr>
<td style="border-bottom:1px solid #e5e7eb;"><b>Monto</b></td>
<td style="border-bottom:1px solid #e5e7eb;"><?php echo e($data->amount); ?></td>
</tr>
<?php endif; ?>
<?php if(!empty($data->payment_method)): ?>
<tr>
<td style="border-bottom:1px solid #e5e7eb;"><b>Método de pago</b></td>
<td style="border-bottom:1px solid #e5e7eb;"><?php echo e($data->payment_method); ?></td>
</tr>
<?php endif; ?>
<?php if(!empty($data->paid_at)): ?>
<tr>
<td style="border-bottom:1px solid #e5e7eb;"><b>Fecha</b></td>
<td style="border-bottom:1px solid #e5e7eb;"><?php echo e($data->paid_at); ?></td>
</tr>
<?php endif; ?>
<?php if(!empty($data->reference_number)): ?>
<tr>
<td><b>Referencia</b></td>
<td><?php echo e($data->reference_number); ?></td>
</tr>
<?php endif; ?>
</table>
<?php if(!empty($data->pending_message)): ?>
<p style="font-size: 16px; text-align: justify;">
<?php echo $data->pending_message; ?>
</p>
<?php if(!empty($data->portal_url)): ?>
<p style="text-align:center;margin:15px 0;">
<a href="<?php echo e($data->portal_url); ?>"
style="display:inline-block;padding:10px 20px;background:#126a59;color:#ffffff;text-decoration:none;border-radius:6px;font-size:14px;">
Continuar proceso de matrícula
</a>
</p>
<?php endif; ?>
<?php else: ?>
<p style="font-size: 16px; text-align: justify;">
Tu proceso de matrícula se encuentra al día. Gracias por utilizar <?php echo e(env('COMPANY_NAME')); ?>.
</p>
<?php endif; ?>
<br>
<p style="font-size: 16px;">
¡Saludos Cordiales!<br><br>Equipo <?php echo e(env('COMPANY_NAME')); ?>
</p>
</span>
</div>
<div style="text-align:center;"><br></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellpadding="0" cellspacing="0" border="0" width="100%"
style="background-color: #Ffffff">
<tr>
<td style="background-color: #Ffffff">
<table class="wrapper--outer" align="center"
style="box-sizing:border-box;border-spacing:0;border-collapse:collapse;padding:0;width:100%;max-width:600px;margin:0 auto;background-color:#FFFFFF"
bgcolor="#FFFFFF">
<tr>
<td style="padding:0;text-align:center;">
<div style="background:#126a59;text-align: center;color: #ddd;padding: 10px; font-size: 12px;">
Mensaje generado automáticamente. <br><strong>Por favor No responda este mensaje</strong>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</td>
</tr>
</table>
</div>
</div>
<?php /**PATH /var/www/api_matriculas/resources/views/templates_email/email_payment_registered.blade.php ENDPATH**/ ?>