base_school_num changes

This commit is contained in:
mark committed 2026-10-20 17:31:06 -07:00
1 parent 57853ca5c6
commit ecea902d50
8 files changed
+32 -23

No files matched your search

+1 -1
View File
@@ -461,7 +461,7 @@ else {
}
if (in_array($_SESSION['UserInfo']['type'],array('SuperUser','System Administrator'))) {
$current_balance_owing = db_getVal("SELECT sum(total - amount_paid) FROM invoice_header WHERE school_num = $base_school_num AND status = 'Open'");
$current_balance_owing = db_getVal("SELECT sum(total - amount_paid) FROM invoice_header WHERE school_num = $school_num AND status = 'Open'");
if ($current_balance_owing > 0) {
// Format school_year value
if (date("m",time()) < '12') {