$upcoming Booked lessons and upcoming group-class sessions, soonest first. * @var list $past * @var list $enrolments * @var list $acceptances * @var list $registrationInfo * @var list $intake * @var list $payments * @var list $credits * @var float $creditBalance Balance of the account that settles this student's charges — the guardian's for a child. * @var string $creditCurrency * @var array{id: int, name: string, email: string}|null $guardian The parent/guardian who books for this student, or null when they book for themselves. * @var list $children Children this student books for. * @var array{id: int, name: string, email: string} $payer Who is billed for this student — themselves, or their guardian. * @var string $pageSlug * @var string $backUrl * @var bool $canBilling * @var string $billingOverride * @var string $billingDefault * @var string $notice * @var string $error */ $renderLessons = static function (array $rows, bool $withActions = false): void { if (empty($rows)) { echo '

' . esc_html__('None.', 'unsupervised-schedular') . '

'; return; } ?>

display_name); ?>

user_registered); ?>

add_query_arg(['page' => $pageSlug, 'student_id' => $id], admin_url('admin.php')); ?>

' . esc_html($guardian['name']) . '', esc_html($guardian['email']) ); ?>

' . esc_html(number_format_i18n($creditBalance, 2) . ' ' . $creditCurrency) . '' ); ?> ID) : ?>