1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
$typeClient_list = array("clients","aucune offre",utf8_encode("téléphones"),"rendez-vous","apports de l'offre");
switch($cl_prospect){
case 0:
$client_list = ClientHelper::findAllClients($user,false,0);
break;
case 2:
$client_list = ClientHelper::findAllClients($user,false,2);
break;
case 3:
$client_list = ClientHelper::findAllClients($user,false,3);
break;
case 4:
$client_list = ClientHelper::findAllClients($user,false,4);
break;
}
$form->addInput(array("type"=>"combobox",
"name"=>"prospect",
"data"=>1,
"value"=>$cl_prospect,
"data"=>$typeClient_list)); |
Partager