1 |
fraynaud |
25 |
<?php |
2 |
|
|
//$Id: PC_modificatif.inc,v 1.2 2010-07-28 10:58:48 fraynaud Exp $ |
3 |
|
|
$DEBUG=0; |
4 |
|
|
$serie=15; |
5 |
|
|
$ent= "Dossier -> PC -> modificatif -> transfert"; |
6 |
|
|
$ico = "../img/ico_dossier.png"; |
7 |
|
|
$edition=""; |
8 |
fraynaud |
242 |
$table=DB_PREFIXE."dossier left join ".DB_PREFIXE."om_utilisateur on dossier.instructeur = om_utilisateur.om_utilisateur"; |
9 |
nhaye |
473 |
$champAffiche=array( |
10 |
|
|
'dossier.dossier as "'._("dossier").'"', |
11 |
|
|
'dossier.demandeur_nom as "'._("demandeur_nom").'"', |
12 |
|
|
'om_utilisateur.nom as "'._("instructeur").'"', |
13 |
|
|
'to_char(dossier.date_demande ,\'DD/MM/YYYY\') as "'._("date_demande").'"', |
14 |
|
|
'to_char(dossier.date_depot ,\'DD/MM/YYYY\') as "'._("date_depot").'"', |
15 |
|
|
'to_char(dossier.date_complet ,\'DD/MM/YYYY\') as "'._("date_complet").'"', |
16 |
|
|
'to_char(dossier.date_notification_delai ,\'DD/MM/YYYY\') as "'._("date_notification_delai").'"', |
17 |
|
|
'to_char(dossier.date_limite ,\'DD/MM/YYYY\') as "'._("date_limite").'"', |
18 |
|
|
'etat as "'._("etat").'"', |
19 |
|
|
); |
20 |
fraynaud |
25 |
$champRecherche=array("dossier","demandeur_nom"); |
21 |
|
|
$tri= ""; |
22 |
|
|
$selection=" where nature = 'PC'"; |
23 |
|
|
// sous formulaire |
24 |
|
|
$sousformulaire=array("instruction","consultation","terrain","blocnote","destination_shon","modificatif"); |
25 |
|
|
// permis modificatif et transfert de permis |
26 |
|
|
|
27 |
nhaye |
473 |
// Actions en coin : ajouter |
28 |
|
|
$tab_actions['corner']['ajouter'] = NULL; |
29 |
fraynaud |
25 |
|
30 |
nhaye |
473 |
// Actions a gauche : consulter |
31 |
|
|
$tab_actions['left']['consulter'] = NULL; |
32 |
|
|
|
33 |
|
|
// Actions a gauche : transferer |
34 |
|
|
$tab_actions['left']['transferer'] = |
35 |
|
|
array('lien' => '../app/dossier_modificatif.php?idx=', |
36 |
|
|
'id' => "&premier=".$premier."&recherche=".$recherche1, |
37 |
|
|
'lib' => '<span class="om-icon om-icon-16 om-icon-fix transfer-16" title="'._('Transferer').'">'._('Transferer').'</span>', |
38 |
|
|
'ordre' => 10,); |
39 |
|
|
|
40 |
|
|
// Actions a gauche : editer |
41 |
|
|
$tab_actions['left']['editer'] = |
42 |
|
|
array('lien' => '../pdf/pdfetat.php?idx=', |
43 |
|
|
'id' => "&obj=dossier", |
44 |
|
|
'lib' => '<span class="om-icon om-icon-16 om-icon-fix pdf-16" title="'._('Editer').'">'._('Editer').'</span>', |
45 |
|
|
'ordre' => 20,); |
46 |
|
|
|
47 |
|
|
// Action du contenu : transferer |
48 |
|
|
$tab_actions['content'] = $tab_actions['left']['transferer']; |
49 |
fraynaud |
25 |
?> |