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

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

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

revision 495 by nhaye, Thu Sep 27 10:36:55 2012 UTC revision 496 by nhaye, Thu Oct 11 16:29:53 2012 UTC
# Line 10  else Line 10  else
10    
11  if ($retourformulaire== 'service'){  if ($retourformulaire== 'service'){
12      // Actions en coin : ajouter      // Actions en coin : ajouter
13          $tab_actions['corner']['ajouter'] = NULL;      $tab_actions['corner']['ajouter'] = NULL;
14      // Actions a gauche : consulter      // Actions a gauche : consulter
15      $tab_actions['left']['consulter'] = NULL;      $tab_actions['left']['consulter'] = NULL;
16      $selection=" where consultation.service ='".$idx."'";      $selection=" where consultation.service ='".$idx."'";
17  }  }
18    
19    $champs = array();
20    
21    $champs['dossier'] = array(
22        'table' => 'consultation',
23        'colonne' => 'dossier',
24        'type' => 'text',
25        'libelle' => _('Dossier'));
26    
27    $champs['service'] = array(
28        'table' => 'consultation',
29        'colonne' => 'service',
30        'type' => 'select',
31        'libelle' => _('Service'));
32    
33    $champs['date_envoi'] =
34        array('colonne' => 'date_envoi',
35              'table' => 'consultation',
36              'libelle' => _('Date d\'envoi'),
37              'type' => 'date',
38              'where' => 'intervaldate');
39        
40    $champs['date_limite'] =
41        array('colonne' => 'date_limite',
42              'table' => 'consultation',
43              'libelle' => _('Date limite'),
44              'type' => 'date',
45              'where' => 'intervaldate');
46    
47    
48     $options[] =  array('type' => 'search',
49                         'display' => true,
50                         'advanced' => $champs,
51                         'default_form' => 'advanced',
52                         'absolute_object' => 'consultation');
53  ?>  ?>

Legend:
Removed from v.495  
changed lines
  Added in v.496

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26