Files
alrahma_sunday_school/app/Views/emails/status_refund_pending.php
T
2026-02-10 22:11:06 -05:00

40 lines
1.5 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?= $this->extend('layout/email_layout') ?>
<?= $this->section('email_content') ?>
<h2>Refund Processing</h2>
<p>Dear <?= esc($parentName ?? 'Parent') ?>,</p>
<?php if (isset($studentName) && is_array($studentName) && !empty($studentName)): ?>
<p>Your withdrawal requests for the following <?= count($studentName) ?> students have been approved:</p>
<ul style="padding-left:20px;">
<?php foreach ($studentName as $name): ?>
<li><?= esc($name) ?></li>
<?php endforeach; ?>
</ul>
<?php else: ?>
<p>Your withdrawal request for <?= esc($studentName ?? 'your student') ?> has been approved.</p>
<?php endif; ?>
<p>
<?php if (!empty($refundAmount)): ?>
A refund in the amount of <?= esc($refundAmount) ?> is being processed.
<?php else: ?>
A refund is being processed.
<?php endif; ?>
Please allow 710 business days for the refund to be issued to your original payment method.
</p>
<p>You will receive a confirmation email once the refund has been processed.</p>
<p>If you have any questions, please contact our billing department.</p>
<p style="margin:16px 0;">
<a href="<?= base_url() ?>" target="_blank" rel="noopener"
style="display:inline-block; padding:10px 16px; text-decoration:none; border-radius:6px;
background:#198754; color:#ffffff; font-weight:600; font-size:16px;">
Access My Account
</a>
</p>
<p>Best regards,<br>Billing Department</p>
<?= $this->endSection() ?>