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_autorisation_type_detaille.code,' - ',dossier_instruction_type.code,' - ',dossier_instruction_type.libelle) as lib |
39 |
FROM |
FROM |
40 |
".DB_PREFIXE."dossier_instruction_type |
".DB_PREFIXE."dossier_instruction_type |
41 |
|
LEFT JOIN |
42 |
|
".DB_PREFIXE."dossier_autorisation_type_detaille |
43 |
|
ON |
44 |
|
dossier_instruction_type.dossier_autorisation_type_detaille= |
45 |
|
dossier_autorisation_type_detaille.dossier_autorisation_type_detaille |
46 |
ORDER BY |
ORDER BY |
47 |
dossier_instruction_type.libelle"; |
dossier_autorisation_type_detaille.code"; |
48 |
$sql_dossier_instruction_type_by_id = "SELECT |
$sql_dossier_instruction_type_by_id = "SELECT |
49 |
dossier_instruction_type.dossier_instruction_type, |
dossier_instruction_type.dossier_instruction_type, |
50 |
CONCAT( dossier_instruction_type.code ,' - ',dossier_instruction_type.libelle) |
CONCAT(dossier_autorisation_type_detaille.code,' - ',dossier_instruction_type.code,' - ',dossier_instruction_type.libelle) as lib |
51 |
FROM |
FROM |
52 |
".DB_PREFIXE."dossier_instruction_type |
".DB_PREFIXE."dossier_instruction_type |
53 |
|
LEFT JOIN |
54 |
|
".DB_PREFIXE."dossier_autorisation_type_detaille |
55 |
|
ON |
56 |
|
dossier_instruction_type.dossier_autorisation_type_detaille= |
57 |
|
dossier_autorisation_type_detaille.dossier_autorisation_type_detaille |
58 |
WHERE |
WHERE |
59 |
dossier_instruction_type IN (<idx>) |
dossier_instruction_type IN (<idx>) |
60 |
ORDER BY |
ORDER BY |
61 |
dossier_instruction_type.libelle"; |
dossier_autorisation_type_detaille.code"; |
62 |
?> |
?> |