get_config_suivi_tache($params); /** * Configuration du listing */ $transfert_lib = ""; if (isset($conf['arguments']['categorie_tache'])) { if($conf['arguments']['categorie_tache'] == PORTAL) { $transfert_lib = __("IDE'AU"); } if($conf['arguments']['categorie_tache'] == PLATAU) { $transfert_lib = __("Plat'AU"); } } // Titre de la page $ent = __("Suivi des Transferts ").$transfert_lib; // $tab_description = $conf["message_help"]; // Aucune action de corner $tab_actions['corner'] = array(); $tab_actions['left']['consulter'] = array( 'lien' => ''.OM_ROUTE_FORM.'&obj=dossier_instruction&retour_widget=suivi_tache&widget_recherche_id='.$_GET['widget_recherche_id'].'&action=3&idx=', 'id' => '', 'lib' => ''.__('Consulter').'', 'rights' => array('list' => array($obj, $obj.'_consulter'), 'operator' => 'OR'), 'ordre' => 10, ); $tab_actions['content'] = $tab_actions['left']['consulter']; $champRecherche = array( $select__dossier_libelle__column_as, 'task.type as "'.__("type").'"', 'task.state as "'.__("state").'"', ); /** * Composition de la requête */ $sqlFiltre = $om_widget->get_query_filter( sprintf( "%s WHERE %s ", $conf["query_ct_from"], $conf["query_ct_where"] ), $conf['arguments']['filtre'] ); // SELECT // /!\ La colonne "type" du listing contient une infobulle qui est insérée directement en javascript // Faire attention si une colonne doit être ajoutée $champAffiche = $conf["query_ct_select_champaffiche"]; // FROM $table = $conf["query_ct_from"]. $sqlFiltre['FROM']; // WHERE $selection = sprintf( "WHERE %s %s", $conf["query_ct_where"], $sqlFiltre['WHERE'] ); // ORDER BY $tri = sprintf(" ORDER BY %s ", $conf["query_ct_orderby"] );