enterCustomer($NouveauClient)) { // -- partie 3: on fait quoi maintenant -- $choix_niv3 = exec($FinSection1->get()); if($choix_niv3 === ZenitySetup::$fin_section_1['entrees'][0]) { return [2, $Customer]; // section 2: newService() } elseif($choix_niv3 === ZenitySetup::$fin_section_1['entrees'][1]) { return [3, $Customer]; // section 3: modifyData() } elseif($choix_niv3 === ZenitySetup::$fin_section_1['entrees'][2]) { return [1, null]; // relancer section 1: newCustomer() } else { return [0, null]; // menu principal } } return [0, null]; // menu principal }