/[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 1027 - (hide annotations)
Fri Dec 7 17:49:00 2012 UTC (12 years, 1 month ago) by nhaye
File size: 2449 byte(s)
Modification de la requĂȘte des dossiers d'instruction

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 1027 // Actions a gauche : consulter
11     $tab_actions['left']['consulter'] =
12     array('lien' => '../scr/form.php?obj=demande&amp;idx_dossier=',
13     'lib' => '<span class="om-icon om-icon-16 om-icon-fix pdf-16" title="'._('Ajouter une demande').'">'._('Ajouter une demande').'</span>',
14     'ordre' => 20,);
15 nhaye 1023
16 nhaye 1027 // Action du contenu : transferer
17     $tab_actions['content'] = $tab_actions['left']['transferer'];
18    
19 nhaye 1023 // Recherche avancee
20     $champs = array();
21    
22     $champs['dossier'] = array(
23     'table' => 'dossier',
24     'colonne' => 'dossier',
25     'type' => 'text',
26     'libelle' => _('dossier_instruction'));
27    
28     $champs['particulier_nom'] =
29     array('colonne' => 'particulier_nom',
30     'table' => 'demandeur',
31     'libelle' => _('petitionnaire'),
32     'type' => 'text'
33     );
34     $champs['adresse'] = array(
35     'table' => 'dossier',
36     'colonne' => 'TRIM(CONCAT(dossier_autorisation.terrain_adresse_voie_numero,\' \',
37     dossier_autorisation.complement,\' \',
38     dossier_autorisation.terrain_adresse_lieu_dit,\' \',
39     dossier_autorisation.terrain_adresse_code_postal,\' \',
40     dossier_autorisation.terrain_adresse_localite,\' \',
41     dossier_autorisation.terrain_adresse_bp,\' \',
42     dossier_autorisation.terrain_adresse_cedex
43     ))',
44     'type' => 'text',
45     'libelle' => _('terrain'));
46    
47     $champs['arrondissement'] =
48     array('colonne' => 'arrondissement',
49     'table' => 'dossier_autorisation',
50     'libelle' => _('arrondissement'),
51     'type' => 'select'
52     );
53    
54     $champs['dossier_autorisation_type_detaille'] = array(
55     'table' => 'dossier_autorisation',
56     'colonne' => 'dossier_autorisation_type_detaille',
57     'type' => 'select',
58     'libelle' => _('nature du dossier'));
59    
60     $champs['depot_initial'] =
61     array('colonne' => 'depot_initial',
62     'table' => 'dossier',
63     'libelle' => _('depot_initial'),
64     'type' => 'date',
65     'where' => 'intervaldate');
66    
67     $champs['etat'] = array(
68     'table' => 'dossier',
69     'colonne' => 'etat',
70     'type' => 'select',
71     'libelle' => _('etat du dossier'));
72    
73     $options[] = array('type' => 'search',
74     'display' => true,
75     'advanced' => $champs,
76     'absolute_object' => 'dossier',
77     'export' => array("csv"));
78    
79     ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26