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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1061 - (hide annotations)
Thu Dec 13 17:26:39 2012 UTC (12 years, 1 month ago) by nhaye
File size: 2702 byte(s)
Modification des titres des page de recherche de dossier existant et d'ajout de demande

1 nhaye 1023 <?php
2     /**
3     * @package openfoncier
4     * @version SVN : $id$
5     **/
6    
7     //
8     include('../sql/pgsql/dossier_instruction.inc.php');
9    
10 nhaye 1061 $ent = _("Recherche de dossier existant");
11    
12     //Suppression de l'action ajouter
13 nhaye 1028 $tab_actions['corner']['ajouter'] = NULL;
14 nhaye 1027 // Actions a gauche : consulter
15     $tab_actions['left']['consulter'] =
16 nhaye 1037 array('lien' => '../scr/form.php?obj=demande&amp;action=0&amp;idx_dossier=',
17 nhaye 1061 '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 nhaye 1027 'ordre' => 20,);
22 nhaye 1023
23 nhaye 1027 // Action du contenu : transferer
24 nhaye 1028 $tab_actions['content'] = $tab_actions['left']['consulter'];
25 nhaye 1027
26 nhaye 1023 // Recherche avancee
27     $champs = array();
28 vpihour 1058
29 vpihour 1057 /*Ajout des champs de la recherche*/
30 nhaye 1023 $champs['dossier'] = array(
31     'table' => 'dossier',
32     'colonne' => 'dossier',
33     'type' => 'text',
34     'libelle' => _('dossier_instruction'));
35    
36     $champs['particulier_nom'] =
37 vpihour 1038 array('colonne' => array('particulier_nom', 'personne_morale_denomination'),
38 nhaye 1023 'table' => 'demandeur',
39     'libelle' => _('petitionnaire'),
40     'type' => 'text'
41     );
42     $champs['adresse'] = array(
43     'table' => 'dossier',
44 vpihour 1038 '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 nhaye 1023 '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     'libelle' => _('nature du dossier'));
63    
64     $champs['depot_initial'] =
65     array('colonne' => 'depot_initial',
66     'table' => 'dossier',
67     'libelle' => _('depot_initial'),
68     'type' => 'date',
69     'where' => 'intervaldate');
70    
71     $champs['etat'] = array(
72     'table' => 'dossier',
73     'colonne' => 'etat',
74     'type' => 'select',
75     'libelle' => _('etat du dossier'));
76    
77     $options[] = array('type' => 'search',
78     'display' => true,
79     'advanced' => $champs,
80     'absolute_object' => 'dossier',
81     'export' => array("csv"));
82 vpihour 1057 /*Fin rechercher avancée*/
83 nhaye 1023 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26