= "02-15") $time = 0; if ($cMo == '07' || $cMo == '08') $time = 0; // if ($_SESSION['UserInfo']['type'] != 'SuperUser' && $expiry_date != $end && $time > (60 * 60 * 24 * 40)) return; // if ($_SESSION['UserInfo']['type'] != 'SuperUser' && $time > (60 * 60 * 24 * 40)) return; $num_invoices = db_getVal("SELECT count(*) FROM invoice_header WHERE school_num = $school_num AND status IN ('Open','Paid')"); if ($num_invoices == 0 && $time > (60 * 60 * 24 * 30) && $_SESSION['UserInfo']['type'] != 'SuperUser') return; if (strlen($expiry_date) > 0 && $num_invoices > 0) { $invoice_renewal = db_getVal("SELECT max(renewal_date) FROM invoice_header WHERE school_num = $school_num AND status IN ('Open','Paid')"); switch($cMo) { case '01': if ($school_num == 3 && $_SESSION['UserInfo']['type'] == 'SuperUser') break; $renewal = $cYr . "-07-31"; if ($expiry_date >= $renewal) return; if ($invoice_renewal >= $renewal) return; if ($time > (60 * 60 * 24 * 30)) return; break; case '02': case '03': case '04': case '05': case '06': case '07': if ($school_num == 3 && $_SESSION['UserInfo']['type'] == 'SuperUser') break; $renewal = $nYr . "-07-31"; if ($expiry_date >= $renewal) return; if ($invoice_renewal >= $renewal) return; break; case '08': case '09': case '10': case '11': case '12': $renewal = $nYr . "-07-31"; if ($expiry_date >= $renewal) return; if ($invoice_renewal >= $renewal) return; if ($time > (60 * 60 * 24 * 30)) return; break; } } $configuration = $school_record['system_configuration']; ?>


0) { echo("
    \n"); while ($row = db_fetch_assoc($results)) { echo("
  • "); echo($row['contact_name']." - ".$row['contact_email']); echo("
  • "); } echo("
\n"); } ?>

-->

-->

-->


= $end) { ?>

:
support@easyschoolsoftware.net

>