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

Contents of /trunk/sql/pgsql/instruction_observatoire.reqmo.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 312 - (show annotations)
Wed Mar 28 17:19:49 2012 UTC (12 years, 10 months ago) by atreal
File size: 702 byte(s)
passage des fichiers .inc en .inc.php dans sql/pgsql
ajout d'un nouveau champ texte libre pour le complément de travaux.
Ex : construction d'une maison + piscine + portail, avec pour motif de travaux Construction de maison individuelle

1 <?php
2 $reqmo['libelle']=" Evenement état cloturer";
3 $reqmo['sql']="select instruction.dossier,
4 dossier.demandeur_nom,
5 datecourrier,
6 [instruction.evenement as evenement],
7 libelle
8 from ".DB_PREFIXE."instruction inner join ".DB_PREFIXE."dossier on instruction.dossier = dossier.dossier
9 inner join ".DB_PREFIXE."evenement on instruction.evenement =evenement.evenement
10 where dossier.nature = '[SELECTION]' and instruction.etat ='cloturer'";
11 $reqmo['SELECTION']= array('PC','PD','DP','PA','CU');
12 $reqmo['evenement']="checked";
13 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26