/[openfoncier]/trunk/sql/pgsql/demande_dossier_existant.inc.php
ViewVC logotype

Annotation of /trunk/sql/pgsql/demande_dossier_existant.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1104 - (hide annotations)
Thu Dec 20 09:49:27 2012 UTC (12 years, 1 month ago) by vpihour
File size: 2716 byte(s)
Correction de bugs d'affichage

1 nhaye 1100 <?php
2     /**
3     * @package openfoncier
4     * @version SVN : $id$
5     **/
6    
7     //
8     include('../sql/pgsql/dossier_instruction.inc.php');
9    
10     $ent = _("Recherche de dossier existant");
11    
12     //Suppression de l'action ajouter
13     $tab_actions['corner']['ajouter'] = NULL;
14     // Actions a gauche : consulter
15     $tab_actions['left']['consulter'] =
16     array('lien' => '../scr/form.php?obj=demande_dossier_existant&amp;action=0&amp;idx_dossier=',
17     'id' => '&amp;premier='.$premier.'&amp;advs_id='.$advs_id.'&amp;recherche='.$recherche1.
18     '&amp;tricol='.$tricol.'&amp;selectioncol='.$selectioncol.'&amp;valide='.$valide,
19     'lib' => '<span class="om-icon om-icon-16 om-icon-fix add-16" title="'._('Ajouter une demande').'">'.
20     _('Ajouter une demande').'</span>',
21     'ordre' => 20,);
22    
23     // Action du contenu : transferer
24     $tab_actions['content'] = $tab_actions['left']['consulter'];
25    
26     // Recherche avancee
27     $champs = array();
28    
29     /*Ajout des champs de la recherche*/
30     $champs['dossier'] = array(
31     'table' => 'dossier',
32     'colonne' => 'dossier',
33     'type' => 'text',
34 vpihour 1104 'libelle' => _('dossier'));
35 nhaye 1100
36     $champs['particulier_nom'] =
37     array('colonne' => array('particulier_nom', 'personne_morale_denomination'),
38     'table' => 'demandeur',
39     'libelle' => _('petitionnaire'),
40     'type' => 'text'
41     );
42     $champs['adresse'] = array(
43     'table' => 'dossier',
44     'colonne' => array('terrain_adresse_voie_numero', 'complement',
45     'terrain_adresse_lieu_dit', 'terrain_adresse_code_postal',
46     'terrain_adresse_localite', 'terrain_adresse_bp',
47     'terrain_adresse_cedex'),
48     'type' => 'text',
49     'libelle' => _('terrain'));
50    
51     $champs['arrondissement'] =
52     array('colonne' => 'arrondissement',
53     'table' => 'dossier_autorisation',
54     'libelle' => _('arrondissement'),
55     'type' => 'select'
56     );
57    
58     $champs['dossier_autorisation_type_detaille'] = array(
59     'table' => 'dossier_autorisation',
60     'colonne' => 'dossier_autorisation_type_detaille',
61     'type' => 'select',
62 vpihour 1104 'libelle' => _('nature_dossier'));
63 nhaye 1100
64     $champs['depot_initial'] =
65 vpihour 1104 array('colonne' => 'date_depot',
66 nhaye 1100 'table' => 'dossier',
67 vpihour 1104 'libelle' => _('date_depot'),
68 nhaye 1100 'type' => 'date',
69     'where' => 'intervaldate');
70    
71     $champs['etat'] = array(
72     'table' => 'dossier',
73     'colonne' => 'etat',
74     'type' => 'select',
75 vpihour 1104 'libelle' => _('etat'));
76 nhaye 1100
77     $options[] = array('type' => 'search',
78     'display' => true,
79     'advanced' => $champs,
80     'absolute_object' => 'dossier',
81     'export' => array("csv"));
82    
83     /*Fin rechercher avancĂ©e*/
84    
85     $sousformulaire = array();
86     ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26