1 |
vpihour |
1154 |
<?php |
2 |
|
|
//$Id$ |
3 |
|
|
//gen openMairie le 07/01/2013 15:28 |
4 |
|
|
|
5 |
vpihour |
1185 |
include('../gen/sql/pgsql/rapport_instruction.form.inc.php'); |
6 |
|
|
|
7 |
softime |
2112 |
// |
8 |
|
|
$tableSelect .= " |
9 |
|
|
LEFT JOIN ".DB_PREFIXE."dossier |
10 |
|
|
ON rapport_instruction.dossier_instruction=dossier.dossier"; |
11 |
|
|
|
12 |
|
|
// |
13 |
|
|
$champs=array( |
14 |
|
|
"rapport_instruction", |
15 |
|
|
"dossier_instruction", |
16 |
|
|
"dossier_libelle", |
17 |
nhaye |
2989 |
"analyse_reglementaire_om_html", |
18 |
|
|
"description_projet_om_html", |
19 |
softime |
2112 |
"proposition_decision", |
20 |
|
|
"om_fichier_rapport_instruction", |
21 |
|
|
"om_final_rapport_instruction"); |
22 |
|
|
|
23 |
vpihour |
1218 |
// Action : supprimer |
24 |
|
|
$portlet_actions['supprimer']['rights'] = array('list' => array('rapport_instruction_supprimer'), 'operator' => 'OR'); |
25 |
|
|
|
26 |
|
|
// Action : edition PDF |
27 |
|
|
$portlet_actions['edition'] = |
28 |
|
|
array('lien' => '../pdf/pdfetat.php?idx=', |
29 |
|
|
'id' => '&obj=rapport_instruction', |
30 |
vpihour |
1921 |
'lib' => "<span class=\"om-prev-icon om-icon-16 pdf-16 edition\" title=\""._("Edition")."\">"._("Edition")."</span>", |
31 |
fmichon |
1482 |
'target' => "_blank", |
32 |
vpihour |
1218 |
'ordre' => 30, |
33 |
|
|
'ajax' => false,); |
34 |
vpihour |
1899 |
|
35 |
|
|
//Finalisation d'un document |
36 |
|
|
$portlet_actions['finalisation'] = |
37 |
|
|
array('lien' => "#\" onclick=\"finalizeDocument(", |
38 |
vpihour |
1986 |
'id' => ",'rapport_instruction', 'sousform-',1, '".(isset($_GET['retourformulaire'])?$_GET['retourformulaire']:"")."');\"", |
39 |
vpihour |
1899 |
'lib' => "<span class=\"om-prev-icon om-icon-16 om-icon-fix finalise\" title=\"". |
40 |
|
|
_("Finaliser le document")."\">"._("Finaliser le document")."</span>", |
41 |
|
|
'ordre' => 31, |
42 |
|
|
'rights' => array('list' => array("rapport_instruction", "rapport_instruction_finaliser"), 'operator' => 'OR'), |
43 |
|
|
'ajax' => false); |
44 |
|
|
|
45 |
|
|
$portlet_actions['definalisation'] = |
46 |
|
|
array('lien' => "#\" onclick=\"finalizeDocument(", |
47 |
vpihour |
1986 |
'id' => ",'rapport_instruction', 'sousform-',0, '".(isset($_GET['retourformulaire'])?$_GET['retourformulaire']:"")."');\"", |
48 |
|
|
'lib' => "<span class=\"om-prev-icon om-icon-16 om-icon-fix definalise\" title=\"". |
49 |
vpihour |
1899 |
_("Reprendre la redaction du document")."\">"._("Reprendre la redaction du document")."</span>", |
50 |
|
|
'ordre' => 32, |
51 |
|
|
'rights' => array('list' => array("rapport_instruction", "rapport_instruction_definaliser"), 'operator' => 'OR'), |
52 |
|
|
'ajax' => false); |
53 |
vpihour |
1154 |
?> |