= $this->extend('layout/main_layout') ?>
= $this->section('content') ?>
attendance['timezone'] ?? user_timezone());
} catch (Throwable $e) {
$displayTz = user_timezone();
}
}
if ($raw instanceof DateTimeInterface) {
$dt = new DateTime('@' . $raw->getTimestamp());
return $dt->setTimezone(new DateTimeZone($displayTz));
}
$s = trim((string)$raw);
if ($s === '' || preg_match('/^0{4}-0{2}-0{2}/', $s)) return null;
$srcTz = new DateTimeZone($sourceTz);
$outTz = new DateTimeZone($displayTz);
// Try full datetime first
$dt = DateTime::createFromFormat('Y-m-d H:i:s', $s, $srcTz);
if ($dt !== false) {
return $dt->setTimezone($outTz);
}
// Try date-only
$d = DateTime::createFromFormat('Y-m-d', $s, $srcTz);
if ($d !== false) {
if ($defaultTime) {
[$H, $i, $sec] = array_map('intval', explode(':', $defaultTime));
$d->setTime($H, $i, $sec);
} // else leave 00:00:00
return $d->setTimezone($outTz);
}
// Fallback parser
try {
$fallback = new DateTime($s, $srcTz);
return $fallback->setTimezone($outTz);
} catch (Throwable $e) {
return null;
}
}
}
?>
Invoices and Payments
-
This website release version does not have an option to pay your invoice online.
All payments this school year will be made in person on first day of school
(= esc($deadline ? $deadline->format('m-d-Y') : 'TBD') ?>).
-
Cash, checks and debit/credit cards are all accepted forms of payment. However, if you elect to pay in
installments, only cash and checks will be accepted.
| # |
Invoice Number |
Issue Date |
Due Date |
Balance |
Last Payment Amount |
Last Payment Date |
Status |
Actions |
$invoice): ?>
| = (int)$index + 1 ?> |
= esc($invoice['invoice_number']) ?> |
= $issueDt ? esc($issueDt->format('m-d-Y h:i A')) : '—' ?> |
= $dueDt ? esc($dueDt->format('m-d-Y')) : '—' ?> |
$= number_format((float)($invoice['balance'] ?? 0), 2) ?> |
$= number_format((float)($invoice['last_paid_amount'] ?? 0), 2) ?> |
= $lastPay ? esc($lastPay->format('m-d-Y h:i A')) : '—' ?> |
= esc($invoice['status'] ?? '') ?> |
View/Print PDF
|
| Event |
Student |
Fee |
Status |
| = esc($eventName) ?> |
= esc($studentName ?: '—') ?> |
$= number_format((float)($charge['event_amount'] ?? 0), 2) ?> |
= $paid ? 'Paid' : 'Unpaid' ?>
|
No invoice found for the selected school year.
= $this->endSection() ?>
= $this->section('scripts') ?>
= $this->endSection() ?>