This commit is contained in:
Michael RICOIS 2017-03-03 16:44:47 +01:00
parent fdf3404474
commit 1842cd69ac

View File

@ -417,7 +417,7 @@ class Metier_Sfr_Scoring
$this->conn = $conn;
}
//Charger les Rules (dans l'ordre)
// Charger les Rules (dans l'ordre)
$this->RulesVORP = include realpath(dirname(__FILE__)) . '/RulesVorp-'.$this->version.'.php';
$this->RulesVORD = include realpath(dirname(__FILE__)) . '/RulesVord-'.$this->version.'.php';
$this->RulesPO = include realpath(dirname(__FILE__)) . '/RulesPo-'.$this->version.'.php';
@ -433,7 +433,7 @@ class Metier_Sfr_Scoring
file_put_contents('sfr.log', "SIREN = $siren\n", FILE_APPEND);
}
//Set ValContratAge
// Set ValContratAge
if (!empty($this->ValContratDate)) {
$dateContrat = DateTime::createFromFormat('Ymd', $this->ValContratDate);
$dateNow = new DateTime();