7 |
// |
// |
8 |
include('../sql/pgsql/dossier_instruction.inc.php'); |
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; |
$tab_actions['corner']['ajouter'] = NULL; |
14 |
// Actions a gauche : consulter |
// Actions a gauche : consulter |
15 |
$tab_actions['left']['consulter'] = |
$tab_actions['left']['consulter'] = |
16 |
array('lien' => '../scr/form.php?obj=demande&idx_dossier=', |
array('lien' => '../scr/form.php?obj=demande&action=0&idx_dossier=', |
17 |
'id' => '' |
'id' => '&premier='.$premier.'&advs_id='.$advs_id.'&recherche='.$recherche1. |
18 |
'lib' => '<span class="om-icon om-icon-16 om-icon-fix add-16" title="'._('Ajouter une demande').'">'._('Ajouter une demande').'</span>', |
'&tricol='.$tricol.'&selectioncol='.$selectioncol.'&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,); |
'ordre' => 20,); |
22 |
|
|
23 |
// Action du contenu : transferer |
// Action du contenu : transferer |
26 |
// Recherche avancee |
// Recherche avancee |
27 |
$champs = array(); |
$champs = array(); |
28 |
|
|
29 |
|
/*Ajout des champs de la recherche*/ |
30 |
$champs['dossier'] = array( |
$champs['dossier'] = array( |
31 |
'table' => 'dossier', |
'table' => 'dossier', |
32 |
'colonne' => 'dossier', |
'colonne' => 'dossier', |
34 |
'libelle' => _('dossier_instruction')); |
'libelle' => _('dossier_instruction')); |
35 |
|
|
36 |
$champs['particulier_nom'] = |
$champs['particulier_nom'] = |
37 |
array('colonne' => 'particulier_nom', |
array('colonne' => array('particulier_nom', 'personne_morale_denomination'), |
38 |
'table' => 'demandeur', |
'table' => 'demandeur', |
39 |
'libelle' => _('petitionnaire'), |
'libelle' => _('petitionnaire'), |
40 |
'type' => 'text' |
'type' => 'text' |
41 |
); |
); |
42 |
$champs['adresse'] = array( |
$champs['adresse'] = array( |
43 |
'table' => 'dossier', |
'table' => 'dossier', |
44 |
'colonne' => 'TRIM(CONCAT(dossier_autorisation.terrain_adresse_voie_numero,\' \', |
'colonne' => array('terrain_adresse_voie_numero', 'complement', |
45 |
dossier_autorisation.complement,\' \', |
'terrain_adresse_lieu_dit', 'terrain_adresse_code_postal', |
46 |
dossier_autorisation.terrain_adresse_lieu_dit,\' \', |
'terrain_adresse_localite', 'terrain_adresse_bp', |
47 |
dossier_autorisation.terrain_adresse_code_postal,\' \', |
'terrain_adresse_cedex'), |
|
dossier_autorisation.terrain_adresse_localite,\' \', |
|
|
dossier_autorisation.terrain_adresse_bp,\' \', |
|
|
dossier_autorisation.terrain_adresse_cedex |
|
|
))', |
|
48 |
'type' => 'text', |
'type' => 'text', |
49 |
'libelle' => _('terrain')); |
'libelle' => _('terrain')); |
50 |
|
|
79 |
'advanced' => $champs, |
'advanced' => $champs, |
80 |
'absolute_object' => 'dossier', |
'absolute_object' => 'dossier', |
81 |
'export' => array("csv")); |
'export' => array("csv")); |
82 |
|
/*Fin rechercher avancée*/ |
83 |
?> |
?> |