87 |
// Liste des autres dossiers d'instructions |
// Liste des autres dossiers d'instructions |
88 |
if ($retourformulaire== 'dossier_instruction'){ |
if ($retourformulaire== 'dossier_instruction'){ |
89 |
$champAffiche=array( |
$champAffiche=array( |
90 |
'dossier.dossier as "'._("dossier_instruction").'"', |
'b.dossier as "'._("dossier_instruction").'"', |
91 |
'dossier_instruction_type.libelle as "'._("dossier").'"', |
'dossier_instruction_type.libelle as "'._("dossier").'"', |
92 |
'to_char(dossier.date_depot ,\'DD/MM/YYYY\') as "'._("date_depot").'"', |
'to_char(b.date_depot ,\'DD/MM/YYYY\') as "'._("date_depot").'"', |
93 |
'etat as "'._("etat").'"', |
'b.etat as "'._("etat").'"', |
94 |
); |
); |
95 |
|
|
96 |
$table =DB_PREFIXE.'dossier |
$table =DB_PREFIXE.'dossier as a |
97 |
|
JOIN '.DB_PREFIXE.'dossier_autorisation |
98 |
|
ON a.dossier_autorisation=dossier_autorisation.dossier_autorisation |
99 |
|
JOIN '.DB_PREFIXE.'dossier as b |
100 |
|
ON b.dossier_autorisation=dossier_autorisation.dossier_autorisation |
101 |
JOIN '.DB_PREFIXE.'dossier_instruction_type |
JOIN '.DB_PREFIXE.'dossier_instruction_type |
102 |
ON dossier_instruction_type.dossier_instruction_type = dossier.dossier_instruction_type'; |
ON dossier_instruction_type.dossier_instruction_type = b.dossier_instruction_type'; |
103 |
$selection = 'WHERE dossier.dossier=\''.$idx.'\''; |
$selection = 'WHERE a.dossier=\''.$idx.'\' AND b.dossier!=\''.$idx.'\''; |
104 |
$tri= "order by dossier.date_depot ASC"; |
$tri= "order by b.date_depot ASC"; |
105 |
|
|
106 |
//Suppression du bouton d'ajout |
//Suppression du bouton d'ajout |
107 |
$tab_actions['corner']['ajouter'] = NULL; |
$tab_actions['corner']['ajouter'] = NULL; |