* $etapes array Contains only one etap, the status modification
* $etapes array Contains only one etap, the status modification
*/
*/
$error_visa_workflow=false;
// $error_visa_workflow = false;
$db=newDatabase();
// $db = new Database();
$stmt=$db->query("SELECT listinstance_id from listinstance WHERE res_id= ? and coll_id = ? and difflist_type = ? and process_date ISNULL",array($_POST['values'],'letterbox_coll','VISA_CIRCUIT'));
// $stmt = $db->query("SELECT listinstance_id from listinstance WHERE res_id= ? and coll_id = ? and difflist_type = ? and process_date ISNULL", array($_POST['values'], 'letterbox_coll', 'VISA_CIRCUIT'));