Fixed the test for delinquency from 15 days (used while debugging) to 10 days

git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716/site@595 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-08-17 03:38:07 +00:00
parent ebd80a8313
commit 77db0c2ed9

View File

@@ -537,7 +537,7 @@ class Lease extends AppModel {
function conditionDelinquent($table_name = 'Lease') {
if (empty($table_name)) $t = ''; else $t = $table_name . '.';
return ("({$t}close_date IS NULL AND" .
" NOW() > DATE_ADD({$t}paid_through_date, INTERVAL 15 DAY))");
" NOW() > DATE_ADD({$t}paid_through_date, INTERVAL 10 DAY))");
}
function delinquentDaysSQL($table_name = 'Lease') {