".__("concession_terme"); $edition=""; // !!! On positionne $obj à 'concession' pour éviter des surcharges $obj = "concession"; // CONSULTER // Actions a gauche : consulter $tab_actions['left']['consulter'] = array('lien' => OM_ROUTE_FORM.'&obj='.$obj.'&action=3&specific_origin=terme&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']; // LOCALISATION $tab_actions['left']['localiser-sig-interne'] = array( 'lien' => OM_ROUTE_MAP."&mode=tab_sig&idx=", 'id' => '&obj='.$obj.'&premier='.$premier.'&advs_id='.$advs_id.'&tricol='.$tricol.'&valide='.$valide.'&retour=tab', 'lib' => ''.__('SIG').'', 'ordre' => 150, 'parameters' => array("option_localisation" => "sig_interne", ), ); $tab_actions['left']['localiser-sig-externe'] = array( 'lien' => "../app/localisation_sig_externe.php?idx=", 'lib' => ''.__('SIG').'', 'ordre' => 150, 'parameters' => array("option_localisation" => "sig_externe", ), ); $tab_actions['left']['localiser-plan'] = array( 'lien' => "../app/localisation_plan_view.php?idx=", 'id' => '&obj='.$obj.'&specific_origin=terme&premier='.$premier.'&advs_id='.$advs_id.'&tricol='.$tricol.'&valide='.$valide.'&retour=tab', 'lib' => ''.__('Plan').'', 'ordre' => 150, 'parameters' => array("option_localisation" => "plan", ), ); // !!! On repositionne $obj à 'terme' $obj = "terme"; // Actions a gauche : consulter unset($tab_actions['left']['consulter']); unset($tab_actions['corner']['ajouter']); $table=DB_PREFIXE."emplacement"; // $droitTable=""; // $champAffiche=array( 'emplacement as "'.__("id").'"', 'famille as "'.__("famille").'"', 'to_char(dateterme,\'DD/MM/YYYY\') as "'.__("dateterme").'"' ); $champRecherche=array("emplacement","famille"); $tri= "order by dateterme"; $selection=" where extract(YEAR FROM dateterme)<=extract(YEAR FROM current_date) and terme='temporaire'";