1 |
<?php |
2 |
/** |
3 |
* @package openfoncier |
4 |
* @version SVN : $id$ |
5 |
**/ |
6 |
|
7 |
// |
8 |
include('../sql/pgsql/dossier_instruction.inc.php'); |
9 |
|
10 |
|
11 |
$tab_actions['corner']['ajouter'] = NULL; |
12 |
// Actions a gauche : consulter |
13 |
$tab_actions['left']['consulter'] = |
14 |
array('lien' => '../scr/form.php?obj=demande&action=0&idx_dossier=', |
15 |
'id' => '&premier='.$premier.'&advs_id='.$advs_id.'&recherche='.$recherche1.'&tricol='.$tricol.'&selectioncol='.$selectioncol.'&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 |
$champs['dossier'] = array( |
26 |
'table' => 'dossier', |
27 |
'colonne' => 'dossier', |
28 |
'type' => 'text', |
29 |
'libelle' => _('dossier_instruction')); |
30 |
|
31 |
$champs['particulier_nom'] = |
32 |
array('colonne' => array('particulier_nom', 'personne_morale_denomination'), |
33 |
'table' => 'demandeur', |
34 |
'libelle' => _('petitionnaire'), |
35 |
'type' => 'text' |
36 |
); |
37 |
$champs['adresse'] = array( |
38 |
'table' => 'dossier', |
39 |
'colonne' => array('terrain_adresse_voie_numero', 'complement', |
40 |
'terrain_adresse_lieu_dit', 'terrain_adresse_code_postal', |
41 |
'terrain_adresse_localite', 'terrain_adresse_bp', |
42 |
'terrain_adresse_cedex'), |
43 |
'type' => 'text', |
44 |
'libelle' => _('terrain')); |
45 |
|
46 |
$champs['arrondissement'] = |
47 |
array('colonne' => 'arrondissement', |
48 |
'table' => 'dossier_autorisation', |
49 |
'libelle' => _('arrondissement'), |
50 |
'type' => 'select' |
51 |
); |
52 |
|
53 |
$champs['dossier_autorisation_type_detaille'] = array( |
54 |
'table' => 'dossier_autorisation', |
55 |
'colonne' => 'dossier_autorisation_type_detaille', |
56 |
'type' => 'select', |
57 |
'libelle' => _('nature du dossier')); |
58 |
|
59 |
$champs['depot_initial'] = |
60 |
array('colonne' => 'depot_initial', |
61 |
'table' => 'dossier', |
62 |
'libelle' => _('depot_initial'), |
63 |
'type' => 'date', |
64 |
'where' => 'intervaldate'); |
65 |
|
66 |
$champs['etat'] = array( |
67 |
'table' => 'dossier', |
68 |
'colonne' => 'etat', |
69 |
'type' => 'select', |
70 |
'libelle' => _('etat du dossier')); |
71 |
|
72 |
$options[] = array('type' => 'search', |
73 |
'display' => true, |
74 |
'advanced' => $champs, |
75 |
'absolute_object' => 'dossier', |
76 |
'export' => array("csv")); |
77 |
|
78 |
?> |