1 |
<?php |
<?php |
2 |
//$Id$ |
/** |
3 |
//gen openMairie le 10/02/2011 20:34 |
* |
4 |
include('../gen/sql/pgsql/instruction.inc.php'); |
* |
5 |
|
* @package openfoncier |
6 |
|
* @version SVN : $Id$ |
7 |
|
*/ |
8 |
|
|
9 |
|
// |
10 |
|
include "../gen/sql/pgsql/instruction.inc.php"; |
11 |
|
|
12 |
// ======================================================= |
// ======================================================= |
13 |
// href special edition instruction |
// href special edition instruction |
14 |
// ======================================================= |
// ======================================================= |
15 |
$table="instruction inner join evenement on instruction.evenement=evenement.evenement"; |
$table=DB_PREFIXE."instruction inner join ".DB_PREFIXE."evenement on instruction.evenement=evenement.evenement |
16 |
|
LEFT JOIN ".DB_PREFIXE."signataire_arrete |
17 |
|
ON instruction.signataire_arrete=signataire_arrete.signataire_arrete"; |
18 |
$champAffiche=array("instruction as no", |
$champAffiche=array("instruction as no", |
19 |
"instruction.lettretype", |
"instruction.lettretype", |
20 |
|
"signataire_arrete.nom as \""._("signataire_arrete")."\"", |
21 |
"libelle", |
"libelle", |
22 |
"to_char(datecourrier ,'DD/MM/YYYY') as datecourrier", |
"to_char(date_evenement ,'DD/MM/YYYY') as date_evenement", |
23 |
"instruction.etat" |
"instruction.etat", |
24 |
|
"dossier" |
25 |
); |
); |
26 |
$champRecherche=array("libelle"); |
$champRecherche=array("libelle"); |
27 |
$tri= " order by instruction "; |
$tri= " order by instruction "; |
28 |
if(isset($idx)){ |
if(isset($idx)){ |
29 |
$selection=" where dossier ='".$idx."'"; |
$selection=" where dossier like '".$idx."'"; |
30 |
}else{ |
}else{ |
31 |
$selection=""; |
$selection=""; |
|
} |
|
|
//if(isset($objsf) and isset($idx)){ |
|
|
$href[3]['lien'] = "../app/pdflettretype_instruction.php?idx="; |
|
|
$href[3]['id']= ""; |
|
|
$href[3]['lib']= "<span class=\"om-icon om-icon-16 om-icon-fix pdf-16\" title=\"". |
|
|
_("Edition")."\">"._("Edition")."</span>"; |
|
|
// $href=array(); |
|
|
?> |
|
32 |
|
} |
33 |
|
|
34 |
|
/** |
35 |
|
* Gestion particulière de l'affichage du listing dans le contexte d'un dossier |
36 |
|
* d'instruction |
37 |
|
*/ |
38 |
|
include "../sql/pgsql/dossier_instruction_droit_specifique_par_division.inc.php"; |
39 |
|
|
40 |
|
?> |