6 |
DB_PREFIXE."om_utilisateur on dossier.instructeur = om_utilisateur.om_utilisateur left join ". |
DB_PREFIXE."om_utilisateur on dossier.instructeur = om_utilisateur.om_utilisateur left join ". |
7 |
DB_PREFIXE."avis on avis.avis=dossier.avis"; |
DB_PREFIXE."avis on avis.avis=dossier.avis"; |
8 |
$champAffiche=array("dossier", |
$champAffiche=array("dossier", |
9 |
|
"demandeur_nom as nom", |
10 |
"om_utilisateur.nom as instructeur", |
"om_utilisateur.nom as instructeur", |
|
"demandeur_nom", |
|
11 |
"to_char(date_demande,'DD/MM/YYYY') as demande", |
"to_char(date_demande,'DD/MM/YYYY') as demande", |
12 |
"to_char(date_depot,'DD/MM/YYYY') as depot", |
"to_char(date_depot,'DD/MM/YYYY') as depot", |
13 |
"to_char(date_complet,'DD/MM/YYYY') as complet", |
"to_char(date_complet,'DD/MM/YYYY') as complet", |
15 |
"to_char(date_limite,'DD/MM/YYYY') as limite", |
"to_char(date_limite,'DD/MM/YYYY') as limite", |
16 |
"etat","avis.libelle as avis" |
"etat","avis.libelle as avis" |
17 |
); |
); |
18 |
|
|
19 |
|
$tri= "order by dossier.dossier"; |
20 |
|
|
21 |
|
$champRecherche=array("dossier","demandeur_nom"); |
22 |
|
|
23 |
|
$ico = "../img/ico_dossier.png"; |
24 |
|
|
25 |
|
$edition=""; |
26 |
|
|
27 |
if ($retourformulaire== 'architecte'){ |
if ($retourformulaire== 'architecte'){ |
28 |
$href[0] = array("lien" => "#", "id" => "", "lib" => "", ); |
$tab_actions['corner']['ajouter'] = NULL; |
29 |
$href[1] = array("lien" => "", "id" => "", "lib" => "", ); |
$tab_actions['left']['consulter'] = NULL; |
30 |
$href[2] = array("lien" => "#", "id" => "", "lib" => "", ); |
$tab_actions['content'] =NULL; |
31 |
$selection=" where dossier.architecte ='".$idx."'"; |
$selection=" where dossier.architecte ='".$idx."'"; |
32 |
} |
} |
33 |
if ($retourformulaire== 'travaux'){ |
if ($retourformulaire== 'travaux'){ |
34 |
$href[0] = array("lien" => "#", "id" => "", "lib" => "", ); |
$tab_actions['corner']['ajouter'] = NULL; |
35 |
$href[1] = array("lien" => "", "id" => "", "lib" => "", ); |
$tab_actions['left']['consulter'] = NULL; |
36 |
$href[2] = array("lien" => "#", "id" => "", "lib" => "", ); |
$tab_actions['content'] =NULL; |
37 |
$selection=" where dossier.travaux ='".$idx."'"; |
$selection=" where dossier.travaux ='".$idx."'"; |
38 |
} |
} |
39 |
|
$sousformulaire=array("instruction", |
40 |
|
"consultation", |
41 |
|
"terrain", |
42 |
|
"blocnote", |
43 |
|
"destination_shon", |
44 |
|
"statistique"); |
45 |
?> |
?> |