11 |
$champs=array( |
$champs=array( |
12 |
"evenement.evenement", |
"evenement.evenement", |
13 |
"libelle", |
"libelle", |
|
"nature", |
|
14 |
"action", |
"action", |
15 |
"etat", |
"etat", |
16 |
"delai", |
"delai", |
35 |
|
|
36 |
$sql_dossier_instruction_type="SELECT |
$sql_dossier_instruction_type="SELECT |
37 |
dossier_instruction_type.dossier_instruction_type, |
dossier_instruction_type.dossier_instruction_type, |
38 |
CONCAT( dossier_instruction_type.code ,' - ',dossier_instruction_type.libelle) |
CONCAT( dossier_instruction_type.code ,' - ',dossier_instruction_type.libelle |
39 |
|
, ' - ', dossier_autorisation_type_detaille.libelle) |
40 |
FROM |
FROM |
41 |
".DB_PREFIXE."dossier_instruction_type |
".DB_PREFIXE."dossier_instruction_type |
42 |
|
LEFT JOIN |
43 |
|
".DB_PREFIXE."dossier_autorisation_type_detaille |
44 |
|
ON |
45 |
|
dossier_instruction_type.dossier_autorisation_type_detaille= |
46 |
|
dossier_autorisation_type_detaille.dossier_autorisation_type_detaille |
47 |
ORDER BY |
ORDER BY |
48 |
dossier_instruction_type.libelle"; |
dossier_autorisation_type_detaille.libelle"; |
49 |
$sql_dossier_instruction_type_by_id = "SELECT |
$sql_dossier_instruction_type_by_id = "SELECT |
50 |
dossier_instruction_type.dossier_instruction_type, |
dossier_instruction_type.dossier_instruction_type, |
51 |
CONCAT( dossier_instruction_type.code ,' - ',dossier_instruction_type.libelle) |
CONCAT( dossier_instruction_type.code ,' - ',dossier_instruction_type.libelle) |
52 |
FROM |
FROM |
53 |
".DB_PREFIXE."dossier_instruction_type |
".DB_PREFIXE."dossier_instruction_type |
54 |
|
LEFT JOIN |
55 |
|
".DB_PREFIXE."dossier_autorisation_type_detaille |
56 |
|
ON |
57 |
|
dossier_instruction_type.dossier_autorisation_type_detaille= |
58 |
|
dossier_autorisation_type_detaille.dossier_autorisation_type_detaille |
59 |
WHERE |
WHERE |
60 |
dossier_instruction_type IN (<idx>) |
dossier_instruction_type IN (<idx>) |
61 |
ORDER BY |
ORDER BY |
62 |
dossier_instruction_type.libelle"; |
dossier_autorisation_type_detaille.libelle"; |
63 |
?> |
?> |