".__("operation_en_cours"); $edition=""; $obj = "operation"; // CONSULTER // Actions a gauche : consulter $tab_actions['left']['consulter'] = array('lien' => OM_ROUTE_FORM.'&obj='.$obj.'&action=30&specific_origin=operation_en_cours&idx=', 'id' => '&premier='.$premier.'&advs_id='.$advs_id.'&tricol='.$tricol.'&valide='.$valide.'&retour=tab', 'lib' => ''.__('Consulter').'', 'rights' => array('list' => array($obj, $obj.'_consulter'), 'operator' => 'OR'), 'ordre' => 10,); // Action du contenu : consulter $tab_actions['content'] = $tab_actions['left']['consulter']; unset($tab_actions['corner']['ajouter']); // Lorsqu'on est dans le listing voir + des opérations en cours // on change l'obj if ($_GET['module'] == 'tab') { $obj = "operation_en_cours"; } $table=sprintf(' %1$soperation INNER JOIN %1$semplacement ON operation.emplacement = emplacement.emplacement LEFT JOIN %1$sautorisation ON operation.demandeur = autorisation.autorisation LEFT JOIN %1$stitre_de_civilite ON autorisation.titre = titre_de_civilite.titre_de_civilite ', DB_PREFIXE ); // $champAffiche = array( 'operation.operation as "'.__("id").'"', 'numdossier as "'.__("numdossier").'"', "emplacement.famille", 'categorie as "'.__("categorie").'"', $champ_demandeur, "to_char(operation.date,'DD/MM/YYYY') as date", 'operation.consigne_acces as "'.__("consigne d'accès (origine)").'"', 'operation.consigne_acces_transfert as "'.__("consigne d'accès (destination)").'"', "CASE operation.prive WHEN 't' THEN 'Oui' ELSE 'Non' END as \"".__("Privé").'"', ); $champRecherche = array( 'operation.operation as "'.__("id").'"', 'numdossier as "'.__("numdossier").'"', "emplacement.famille", 'categorie as "'.__("categorie").'"', $champ_demandeur, ); $tri= "order by date"; $selection=" where etat != 'trt'";