\n$class_info";
if (isset($student) && $school_record['verified_only_class_list'] == 'Y' && $student['status'] != 'Verified') {
$content = getPageContent($school_num,"Access to Class List Denied");
?>
0) {
$trxnum = intval($_GET['trx_num']);
echo("" . getLanguageText('TEXT-PRINT-RECEIPT') . "");
}
?>
|
|
|
|
|
";
while ($row = db_fetch_array($students)) {
$snum = $row['record_num'];
$name = $row['first_name'] . " " . $row['last_name'];
$unum = $row['user_num'];
// Get the parent user record for this student
$query = "select * from users " .
"where school_num = $base_school_num " .
"and record_num = $unum";
$results = db_query($query);
$user = db_fetch_assoc($results);
$parent = $user['first_name'] . ' ' . $user['last_name'];
$userid = $user['userid'];
// Get account balance
$post_link = "";
$user_balance = db_getVal("select sum(transaction_amount) as balance from user_account where school_num = $school_num and user_num = $unum AND (deleted != 'Y' OR deleted IS NULL)");
$user_balance = floatval($user_balance);
if ($user_balance < 0) {
$balance = "-" . $currencySymbol . number_format(abs($user_balance),2);
}
else {
$balance = $currencySymbol . number_format($user_balance,2);
if ($user_balance > 0) $post_link = "$money_icon";
}
$bgclass = "data-odd";
if (($count % 2) == 0) $bgclass = "data-even";
$count++;
?>
|
|
|
|
|