1 |
<?php |
2 |
//$Id$ |
3 |
//gen openMairie le 10/02/2011 20:32 |
4 |
include('../gen/sql/pgsql/consultation.inc.php'); |
5 |
$table="consultation inner join service on consultation.service=service.service"; |
6 |
$champAffiche=array("consultation", |
7 |
"consultation.service", |
8 |
"libelle", |
9 |
"to_char(date_envoi,'DD/MM/YYYY') as date_envoi", |
10 |
"to_char(date_retour,'DD/MM/YYYY') as date_retour", |
11 |
"to_char(date_limite,'DD/MM/YYYY') as date_limite", |
12 |
"avis"); |
13 |
$champRecherche=array("libelle"); |
14 |
if(isset($idx)) |
15 |
$selection=" where dossier ='".$idx."'"; |
16 |
else |
17 |
$selection=""; |
18 |
// ============================================================================= |
19 |
// href particulier pour edition d etat |
20 |
// ============================================================================= |
21 |
//if(isset($objsf) and isset($idx)){ |
22 |
$href[3]['lien'] = "../pdf/pdfetat.php?idx="; |
23 |
$href[3]['id']= "&obj=consultation"; |
24 |
$href[3]['lib']= "<img src='../img/ico_pdf.png' border=0>"; |
25 |
//}else |
26 |
// $href=array(); |
27 |
?> |