3 |
//gen openMairie le 10/02/2011 20:32 |
//gen openMairie le 10/02/2011 20:32 |
4 |
include('../gen/sql/pgsql/consultation.inc.php'); |
include('../gen/sql/pgsql/consultation.inc.php'); |
5 |
|
|
|
if(isset($idx) ) { |
|
|
$premier = intval($premier); |
|
|
$selection=" WHERE consultation.dossier ='".$idx."'"; |
|
|
$lien = "../app/consultation_multiple.php?obj=$obj&idx=$idx"; |
|
|
$id=""; |
|
|
//$lien = "../scr/sousform.php?obj=$obj&action=0&tri=&objsf=$obj"; |
|
|
//$id = "&premiersf=$premiersf&retourformulaire=$retourformulaire&idxformulaire=$idx&trisf=&retour=tab"; |
|
|
$right = array('list' => array($obj, $obj.'_ajouter'),'operator' => 'OR'); |
|
|
} |
|
|
|
|
6 |
if ($retourformulaire== 'service'){ |
if ($retourformulaire== 'service'){ |
7 |
// Actions en coin : ajouter |
// Actions en coin : ajouter |
8 |
$tab_actions['corner']['ajouter'] = NULL; |
$tab_actions['corner']['ajouter'] = NULL; |
14 |
/** |
/** |
15 |
* Création d'une nouvelle action du formulaire de consultation, l'ajout de plusieurs consultations en une seule fois |
* Création d'une nouvelle action du formulaire de consultation, l'ajout de plusieurs consultations en une seule fois |
16 |
*/ |
*/ |
17 |
$tab_actions['corner']['ajouter_multiple'] = array ( |
if ($retourformulaire == 'dossier' |
18 |
'lien' => $lien, |
OR $retourformulaire == 'PC' |
19 |
'id' => $id, |
OR $retourformulaire == 'PA' |
20 |
'lib' => '<span class="om-icon om-icon-16 om-icon-fix mut-add-16" title="'._('Ajouter plusieurs').'">'._('Ajouter plusieurs').'</span>', |
OR $retourformulaire == 'PD' |
21 |
'right' => $right, |
OR $retourformulaire == 'DP') { |
22 |
); |
$id=""; |
23 |
|
$selection=" WHERE (consultation.dossier ='".$idx."')"; |
24 |
|
$lien = "../app/consultation_multiple.php?obj=$obj&idx=$idx"; |
25 |
|
$right = array('list' => array($obj, $obj.'_ajouter'),'operator' => 'OR'); |
26 |
|
$tab_actions['corner']['ajouter_multiple'] = array ( |
27 |
|
'lien' => $lien, |
28 |
|
'id' => $id, |
29 |
|
'lib' => '<span class="om-icon om-icon-16 om-icon-fix mut-add-16" title="'._('Ajouter plusieurs').'">'._('Ajouter plusieurs').'</span>', |
30 |
|
'right' => $right, |
31 |
|
); |
32 |
|
} |
33 |
|
|
34 |
/** |
/** |
35 |
* Options |
* Options |