/[openfoncier]/trunk/sql/pgsql/dossier_instruction.inc.php
ViewVC logotype

Diff of /trunk/sql/pgsql/dossier_instruction.inc.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1104 by vpihour, Thu Dec 20 09:49:27 2012 UTC revision 1280 by nhaye, Thu Feb 21 16:32:36 2013 UTC
# Line 84  $champAffiche = array_merge($champAffich Line 84  $champAffiche = array_merge($champAffich
84      array("arrondissement.arrondissement")      array("arrondissement.arrondissement")
85  );  );
86    
87    // Liste des autres dossiers d'instructions
88    if ($retourformulaire== 'dossier_instruction'){
89        $champAffiche=array(
90            'dossier.dossier as "'._("dossier_instruction").'"',
91            'dossier_instruction_type.libelle as "'._("dossier").'"',
92            'to_char(dossier.date_depot ,\'DD/MM/YYYY\') as "'._("date_depot").'"',
93            'etat as "'._("etat").'"',
94        );
95    
96        $table =DB_PREFIXE.'dossier
97                JOIN '.DB_PREFIXE.'dossier_instruction_type
98                ON dossier_instruction_type.dossier_instruction_type = dossier.dossier_instruction_type';
99        $selection = 'WHERE dossier.dossier=\''.$idx.'\'';  
100        $tri= "order by dossier.date_depot ASC";
101    
102        //Suppression du bouton d'ajout
103        $tab_actions['corner']['ajouter'] = NULL;
104        
105        //Suppression du bouton d'ajout
106        $tab_actions['left']["consulter"] =
107            array('lien' => 'form.php?obj=dossier_instruction&action=3'.'&idx=',
108                  'id' => '',
109                  'lib' => '<span class="om-icon om-icon-16 om-icon-fix consult-16" title="'._('Consulter').'">'._('Consulter').'</span>',
110                  'rights' => array('list' => array('dossier_instruction', 'dossier_instruction_consulter'), 'operator' => 'OR'),
111                  'ordre' => 10,
112                  'ajax' => false);
113    
114        $tab_actions['content'] = $tab_actions['left']["consulter"];
115        $options[] = array(
116            "type"=>"pagination",
117            "display"=>false,
118        );
119    }
120  ?>  ?>

Legend:
Removed from v.1104  
changed lines
  Added in v.1280

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26