'date_limite', 'table' => 'consultation', 'libelle' => _('Date limite'), 'type' => 'date', 'where' => 'intervaldate'); $champs['dossier'] = array( 'table' => 'dossier', 'colonne' => array('dossier', 'dossier_libelle'), 'type' => 'text', 'libelle' => _('dossier')); $champs['nature'] = array( 'table' => 'donnees_techniques', 'colonne' => array('am_projet_desc','co_projet_desc'), 'type' => 'text', 'libelle' => _('nature des travaux')); $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'), 'type' => 'text', 'libelle' => _('terrain')); $champs['petitionnaire'] = array( 'table' => 'demandeur', 'colonne' => array('particulier_nom', 'particulier_prenom', 'personne_morale_raison_sociale', 'personne_morale_denomination'), 'type' => 'text', 'libelle' => _('petitionnaire')); $champs['service_abrege'] = array( 'table' => 'service', 'colonne' => 'abrege', 'type' => 'text', 'libelle' => _('Service (abrege)')); $options[] = array('type' => 'search', 'display' => true, 'advanced' => $champs, 'absolute_object' => 'consultation', 'export' => array("csv")); $sousformulaire=array("document_numerise"); $sousformulaire_parameters = array( "document_numerise" => array( "title" => _("Piece(s)"), "href" => "../scr/form.php?obj=demande_avis&action=4&idx=".((isset($idx))?$idx:"")."&retourformulaire=".((isset($_GET['obj']))?$_GET['obj']:"")."&", ), ); /** * Options */ // On met la ligne en couleur selon le type de condition $options[] = array( "type" => "condition", "field" => $case_type_consultation, "case" => array( array( "values" => array(_("avec avis attendu"), ), "style" => "consultation-avec-avis-attendu", ), array( "values" => array(_("pour conformite"), ), "style" => "consultation-pour-conformite", ), array( "values" => array(_("pour information"), ), "style" => "consultation-pour-information", ), ), ); ?>