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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 509 - (hide annotations)
Tue Oct 16 16:50:50 2012 UTC (12 years, 3 months ago) by nhaye
File size: 771 byte(s)
Ajout de deux entrées de menu,
création des objets correspondants,
ajout de surcharge de tableau, recherche avancée/simple, tri
Ajout d'un champ booleen "enjeu" dans la table dossier,
régénération,
mise en gras des consultations non lues
Mise en forme du formulaire de consultation
Amélioration, nétoyage de méthodes obsolètes

1 fraynaud 3 <?php
2     //$Id$
3     //gen openMairie le 10/02/2011 20:32
4     include('../gen/sql/pgsql/consultation.inc.php');
5 nhaye 429
6 nhaye 498
7 nhaye 499 if(isset($idx)) {
8     $selection=" WHERE consultation.dossier ='".$idx."'";
9     }
10 fraynaud 38
11     if ($retourformulaire== 'service'){
12 nhaye 429 // Actions en coin : ajouter
13 nhaye 496 $tab_actions['corner']['ajouter'] = NULL;
14 nhaye 429 // Actions a gauche : consulter
15     $tab_actions['left']['consulter'] = NULL;
16 fraynaud 38 $selection=" where consultation.service ='".$idx."'";
17     }
18    
19 nhaye 498 /**
20     * Options
21     */
22    
23 nhaye 509 $options[] = array(
24 nhaye 498 "type" => "condition",
25 nhaye 509 "field" => "case consultation.lu when 't' then 'Oui' else 'Non' end",
26 nhaye 498 "case" => array(
27 nhaye 509 "0" => array(
28     "values" => array("Non", ),
29     "style" => "consultation_non_lue",
30     ),
31     ),
32 nhaye 498 );
33 fraynaud 3 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26