diff --git a/Framework/Moritio.php b/Framework/Moritio.php index 482fd762..3d925f16 100755 --- a/Framework/Moritio.php +++ b/Framework/Moritio.php @@ -14,15 +14,9 @@ "icr" => "2026-12-31", "ric" => "2026-03-25", ); - $dateTest = $tab_dateLimiteUsage["$codeSociete"]; - var_dump( - array( - "dateTest" => $dateTest, - ) - ); - // return "2026-03-31"; - return $dateTest; + $dateRef = ($tab_dateLimiteUsage["$codeSociete"]) ? $tab_dateLimiteUsage["$codeSociete"] : "2026-01-01"; + return $dateRef; } function getLicensed($codeSociete, $nomSociete)