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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1058 - (show annotations)
Thu Dec 13 15:00:27 2012 UTC (12 years, 1 month ago) by vpihour
File size: 2618 byte(s)
Ajout de commentaires

1 <?php
2 /**
3 * @package openfoncier
4 * @version SVN : $id$
5 **/
6
7 //
8 include('../sql/pgsql/dossier_instruction.inc.php');
9
10 /*Suppression de l'action ajouter*/
11 $tab_actions['corner']['ajouter'] = NULL;
12 // Actions a gauche : consulter
13 $tab_actions['left']['consulter'] =
14 array('lien' => '../scr/form.php?obj=demande&amp;action=0&amp;idx_dossier=',
15 'id' => '&amp;premier='.$premier.'&amp;advs_id='.$advs_id.'&amp;recherche='.$recherche1.'&amp;tricol='.$tricol.'&amp;selectioncol='.$selectioncol.'&amp;valide='.$valide,
16 'lib' => '<span class="om-icon om-icon-16 om-icon-fix add-16" title="'._('Ajouter une demande').'">'._('Ajouter une demande').'</span>',
17 'ordre' => 20,);
18
19 // Action du contenu : transferer
20 $tab_actions['content'] = $tab_actions['left']['consulter'];
21
22 // Recherche avancee
23 $champs = array();
24
25 /*Ajout des champs de la recherche*/
26 $champs['dossier'] = array(
27 'table' => 'dossier',
28 'colonne' => 'dossier',
29 'type' => 'text',
30 'libelle' => _('dossier_instruction'));
31
32 $champs['particulier_nom'] =
33 array('colonne' => array('particulier_nom', 'personne_morale_denomination'),
34 'table' => 'demandeur',
35 'libelle' => _('petitionnaire'),
36 'type' => 'text'
37 );
38 $champs['adresse'] = array(
39 'table' => 'dossier',
40 'colonne' => array('terrain_adresse_voie_numero', 'complement',
41 'terrain_adresse_lieu_dit', 'terrain_adresse_code_postal',
42 'terrain_adresse_localite', 'terrain_adresse_bp',
43 'terrain_adresse_cedex'),
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 /*Fin rechercher avancée*/
79 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26