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

Contents of /trunk/gen/sql/pgsql/travaux.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 414 - (show annotations)
Fri Sep 21 10:13:17 2012 UTC (12 years, 4 months ago) by nhaye
File size: 1472 byte(s)
Régénération suite à la migration du core ON 4.3.0

1 <?php
2 //$Id$
3 //gen openMairie le 21/09/2012 11:51
4
5 $DEBUG=0;
6 $serie=15;
7 $ico="../img/ico_application.png";
8 $ent = _("application")." -> "._("travaux");
9 if(!isset($premier)) $premier='';
10 if(!isset($recherche1)) $recherche1='';
11 if(!isset($tricolsf)) $tricolsf='';
12 if(!isset($premiersf)) $premiersf='';
13 if(!isset($selection)) $selection='';
14 if(!isset($retourformulaire)) $retourformulaire='';
15 if (isset($idx) && $idx != ']' && trim($idx) != '') {
16 $ent .= "->&nbsp;".$idx."&nbsp;";
17 }
18 if (isset($idz) && trim($idz) != '') {
19 $ent .= "&nbsp;".strtoupper($idz)."&nbsp;";
20 }
21 // FROM
22 $table = DB_PREFIXE."travaux
23 LEFT JOIN ".DB_PREFIXE."nature
24 ON travaux.nature=nature.nature ";
25 // SELECT
26 $champAffiche = array(
27 'travaux.travaux as "'._("travaux").'"',
28 'travaux.libelle as "'._("libelle").'"',
29 'nature.libelle as "'._("nature").'"',
30 'travaux.codelascot as "'._("codelascot").'"',
31 'travaux.solde as "'._("solde").'"',
32 );
33 //
34 $champNonAffiche = array(
35 );
36 //
37 $champRecherche = array(
38 'travaux.travaux as "'._("travaux").'"',
39 'travaux.libelle as "'._("libelle").'"',
40 'nature.libelle as "'._("nature").'"',
41 'travaux.codelascot as "'._("codelascot").'"',
42 'travaux.solde as "'._("solde").'"',
43 );
44 $tri="ORDER BY travaux.libelle ASC NULLS LAST";
45 $edition="travaux";
46 $selection='';
47 if ($retourformulaire== 'nature') {
48 $selection=" WHERE (travaux.nature ='".$idx."')";
49 }
50 $sousformulaire = array(
51 'dossier',);
52 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26