60 |
$selection=" where dossier.travaux ='".$idx."'"; |
$selection=" where dossier.travaux ='".$idx."'"; |
61 |
} |
} |
62 |
|
|
63 |
|
// Liste des autres dossiers d'instructions |
64 |
|
if ($retourformulaire== 'dossier_instruction'){ |
65 |
|
$champAffiche=array( |
66 |
|
'dossier.dossier as "'._("dossier").'"', |
67 |
|
'dossier_instruction_type.libelle as "'._("dossier").'"', |
68 |
|
'to_char(dossier.date_depot ,\'DD/MM/YYYY\') as "'._("date_depot").'"', |
69 |
|
'etat as "'._("etat").'"', |
70 |
|
); |
71 |
|
|
72 |
|
$table =DB_PREFIXE.'dossier |
73 |
|
JOIN '.DB_PREFIXE.'dossier_instruction_type |
74 |
|
ON dossier_instruction_type.dossier_instruction_type = dossier.dossier_instruction_type'; |
75 |
|
$selection = 'WHERE dossier.dossier=\''.$idx.'\''; |
76 |
|
$tri= "order by dossier.date_depot ASC"; |
77 |
|
|
78 |
|
//Suppression du bouton d'ajout |
79 |
|
$tab_actions['corner']['ajouter'] = NULL; |
80 |
|
|
81 |
|
//Suppression du bouton d'ajout |
82 |
|
$tab_actions['left']["consulter"] = |
83 |
|
array('lien' => 'form.php?obj=dossier_instruction&action=3'.'&idx=', |
84 |
|
'id' => '', |
85 |
|
'lib' => '<span class="om-icon om-icon-16 om-icon-fix consult-16" title="'._('Consulter').'">'._('Consulter').'</span>', |
86 |
|
'rights' => array('list' => array('dossier_instruction', 'dossier_instruction_consulter'), 'operator' => 'OR'), |
87 |
|
'ordre' => 10, |
88 |
|
'ajax' => false); |
89 |
|
|
90 |
|
$tab_actions['content'] = $tab_actions['left']["consulter"]; |
91 |
|
$options[] = array( |
92 |
|
"type"=>"pagination", |
93 |
|
"display"=>false, |
94 |
|
); |
95 |
|
} |
96 |
/*Si l'on se trouve dans le formulaire dossier_instruction*/ |
/*Si l'on se trouve dans le formulaire dossier_instruction*/ |
97 |
if (isset($_GET["obj"]) && $_GET["obj"] == "dossier_instruction") { |
if (isset($_GET["obj"]) && $_GET["obj"] == "dossier_instruction") { |
98 |
// Configuration de la recherche avancee |
// Configuration de la recherche avancee |
364 |
"title" => _("donnees techniques"), |
"title" => _("donnees techniques"), |
365 |
"href" => "../app/redirection_onglet.php?idx=".((isset($idx))? $idx:"")."&obj=donnees_techniques&", |
"href" => "../app/redirection_onglet.php?idx=".((isset($idx))? $idx:"")."&obj=donnees_techniques&", |
366 |
), |
), |
367 |
|
"dossier_autorisation" => array( |
368 |
|
"href" => "../app/display_da_di.php?iddi=".((isset($idx))? $idx:"")."&", |
369 |
|
), |
370 |
); |
); |
371 |
?> |
?> |