Fixed the test for delinquency from 15 days (used while debugging) to 10 days
git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716@595 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -537,7 +537,7 @@ class Lease extends AppModel {
|
|||||||
function conditionDelinquent($table_name = 'Lease') {
|
function conditionDelinquent($table_name = 'Lease') {
|
||||||
if (empty($table_name)) $t = ''; else $t = $table_name . '.';
|
if (empty($table_name)) $t = ''; else $t = $table_name . '.';
|
||||||
return ("({$t}close_date IS NULL AND" .
|
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') {
|
function delinquentDaysSQL($table_name = 'Lease') {
|
||||||
|
|||||||
Reference in New Issue
Block a user