CONF_MEL_FROM, 'name' => 'Client Giant'), // To array(0 => array('email' => CONF_MEL_TO, 'name' => 'Support')));*/ } /** * Permet de verifier le type de rapport. * * @param $object */ function checkTypeFormatRapport($object) { switch($object) { case 'Full': return ('Rapport Complet'); break; case 'Compact': return ('Rapport Semi-Complet'); break; case 'CreditRecommendation' : return ('Solvabilité'); break; default: return (TRUE); } } /** * Permet de verifier le degret du rapport * * @param $object */ function checkTypeUrgenceRapport($object) { switch($object) { case 'Normal': return ('green'); break; case 'Urgent': return ('red'); break; case 'Flash' : return ('purple'); break; default: return (TRUE); } }