extend('layout/email_layout') ?> section('content') ?>
trim((string)$n), $studentName), static fn($n) => $n !== '' )); } else { $s = trim((string)$studentName); if ($s !== '') { $parts = preg_split('/\s*,\s*|\s*,?\s+and\s+/i', $s); if ($parts !== false) { $names = array_values(array_filter(array_map('trim', $parts), static fn($x) => $x !== '')); } } } } $count = count($names); // Non-possessive label: "A", "A and B", "A, B, and C" if ($count === 0) { $label = 'your student'; } elseif ($count === 1) { $label = $names[0]; } elseif ($count === 2) { $label = "{$names[0]} and {$names[1]}"; } else { $label = implode(', ', array_slice($names, 0, -1)) . ', and ' . $names[$count - 1]; } // Possessive label with possessive only on the last item: "A and B’s", "A, B, and C’s" $labelPoss = ($count === 0) ? 'your student’s' : ($count === 1 ? $names[0] . '’s' : $label . '’s'); $verb = ($count > 1) ? 'have' : 'has'; ?>

Dear ,

1): ?>

Congratulations! We are pleased to inform you that the following students have been accepted for admission to our school:

 

We are excited to welcome your family to our community and look forward to supporting your children's growth in both faith and learning.

Congratulations! We are pleased to inform you that been accepted for admission to our school.

We are excited to welcome your family to our community and look forward to supporting your child's growth in both faith and learning.

Next steps: Please log in to the parent portal and visit the Invoice tab to review your invoice details. The balance must be paid in person on the first day of school to complete the enrollment process.

Access My Account

Best regards,
Admissions Committee

endSection() ?>