'../scr/form.php?obj=demande&action=0&idx_dossier=', 'id' => '&premier='.$premier.'&advs_id='.$advs_id.'&recherche='.$recherche1. '&tricol='.$tricol.'&selectioncol='.$selectioncol.'&valide='.$valide, 'lib' => ''. _('Ajouter une demande').'', 'ordre' => 20,); // Action du contenu : transferer $tab_actions['content'] = $tab_actions['left']['consulter']; // Recherche avancee $champs = array(); /*Ajout des champs de la recherche*/ $champs['dossier'] = array( 'table' => 'dossier', 'colonne' => array('dossier', 'dossier_libelle'), 'type' => 'text', 'libelle' => _('dossier_instruction')); $champs['particulier_nom'] = array('colonne' => array('particulier_nom', 'particulier_prenom', 'personne_morale_denomination', 'personne_morale_raison_sociale'), 'table' => 'demandeur', 'libelle' => _('petitionnaire'), 'type' => 'text' ); $champs['adresse'] = array( 'table' => 'dossier', 'colonne' => array('terrain_adresse_voie_numero', 'terrain_adresse_voie', 'terrain_adresse_lieu_dit', 'terrain_adresse_code_postal', 'terrain_adresse_localite', 'terrain_adresse_bp', 'terrain_adresse_cedex'), 'type' => 'text', 'libelle' => _('terrain')); $champs['arrondissement'] = array('colonne' => 'arrondissement', 'table' => 'dossier_autorisation', 'libelle' => _('arrondissement'), 'type' => 'select' ); $champs['dossier_autorisation_type_detaille'] = array( 'table' => 'dossier_autorisation', 'colonne' => 'dossier_autorisation_type_detaille', 'type' => 'select', 'libelle' => _('nature du dossier')); $champs['depot_initial'] = array('colonne' => 'depot_initial', 'table' => 'dossier', 'libelle' => _('depot_initial'), 'type' => 'date', 'where' => 'intervaldate'); $champs['etat'] = array( 'table' => 'dossier', 'colonne' => 'etat', 'type' => 'select', 'libelle' => _('etat du dossier')); $options[] = array('type' => 'search', 'display' => true, 'advanced' => $champs, 'absolute_object' => 'dossier',); /*Fin rechercher avancée*/ ?>