get_workflow_election(); $tab_actions['corner']['ajouter_multiple'] = array('lien' => ''.OM_ROUTE_SOUSFORM.'&obj='.$obj.'&action=5&idx=0', 'id' => '&tri='.$tricolsf.'&objsf='.$obj.'&premiersf='.$premier.'&retourformulaire='.$retourformulaire.'&idxformulaire='.$idxformulaire.'&trisf='.$tricolsf.'&retour=tab', 'lib' => ''._('Ajouter plusieurs').'', 'rights' => array('list' => array($obj, $obj.'_ajouter'), 'operator' => 'OR'), ); if ($workflow === false || $workflow === 'Finalisation' || $workflow === 'Archivage' ) { $tab_actions['corner']['ajouter'] = null; $tab_actions['corner']['ajouter_multiple'] = null; } // SORT $tri = " ORDER BY election.date, election.libelle, unite.ordre "; // SELECT $displayFieldUnite = 'CONCAT_WS(\' - \', unite.code_unite, unite.libelle) as "'.__("unité").'"'; $champAffiche = array( 'delegation.delegation as "'.__("delegation").'"', 'election.libelle as "'.__("election").'"', $displayFieldUnite, 'acteur.nom as "'.__("acteur").'"', );