/[openfoncier]/trunk/app/js/script.js
ViewVC logotype

Contents of /trunk/app/js/script.js

Parent Directory Parent Directory | Revision Log Revision Log


Revision 333 - (show annotations)
Wed Jun 27 11:00:11 2012 UTC (12 years, 7 months ago) by fraynaud
File MIME type: application/javascript
File size: 2048 byte(s)
mise a niveau wms


1 // specific openfoncier ========================================================
2
3 function bible(){
4 if(fenetreouverte==true)
5 pfenetre.close();
6 var ev=document.f2.evenement.value;
7 var idx=document.f2.dossier.value;
8 pfenetre=window.open("../app/bible.php?ev="+ev+"&idx="+idx,"bible","width=600,height=100,top=120,left=120");
9 fenetreouverte=true;
10 }
11
12 function bible2()
13 {
14 if(fenetreouverte==true)
15 pfenetre.close();
16 var ev=document.f2.evenement.value;
17 var idx=document.f2.dossier.value;
18 pfenetre=window.open("../app/bible2.php?ev="+ev+"&idx="+idx,"bible","width=600,height=100,top=120,left=120");
19 fenetreouverte=true;
20 }
21
22 function bible_auto(){
23 if(fenetreouverte==true)
24 pfenetre.close();
25 var ev=document.f2.evenement.value;
26 var idx=document.f2.dossier.value;
27 pfenetre=window.open("../app/bible_auto.php?idx="+idx+"&ev="+ev,"evenement","width=600,height=300,top=120,left=120");
28 fenetreouverte=true;
29 }
30
31 function dossierads_d(debut)
32 {
33 //if(fenetreouverte==true)
34 window.location="../pdf/pdfetat.php?obj=dossier_ads_d&nature="
35 +document.f1.nature.value+"&idx=demo&datedebut="
36 +document.f1.datedebut.value+"&datefin="+document.f1.datefin.value;
37 }
38
39 function dossierdepot()
40 {
41 //if(fenetreouverte==true)
42 window.location="../pdf/pdfetat.php?obj=dossier_depot&nature="+
43 document.f1.nature.value+"&idx=demo&datedebut="+
44 document.f1.datedebut.value+"&datefin="+document.f1.datefin.value;
45 }
46
47 function dossierads()
48 {
49 //if(fenetreouverte==true)
50 window.location="../pdf/pdfetat.php?obj=dossier_ads&nature="+
51 document.f1.nature.value+"&idx=demo&datedebut="+
52 document.f1.datedebut.value+"&datefin="+document.f1.datefin.value;
53 }
54
55
56 function VerifNumdec(champ) {
57 champ.value = champ.value.replace(",", "."); // remplacement de la virgule
58 //if (champ.value.lastIndexOf(".") == -1){ // champ decimal
59 if (isNaN(champ.value)) {
60 alert(msg_alert_error_verifnum);
61 champ.value = "";
62 return;
63 }
64 //}
65
66 }

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26