base_school_num changes
This commit is contained in:
1 parent
57853ca5c6
commit
ecea902d50
8 files changed
+32
-23
No files matched your search
+1
-1
@@ -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') {
|
||||
|
||||
Reference in new issue
Block a user