110 |
define ("FICHE_TYPE_FIN",4); |
define ("FICHE_TYPE_FIN",4); |
111 |
define ("FICHE_TYPE_ADM_TAX",14); |
define ("FICHE_TYPE_ADM_TAX",14); |
112 |
|
|
113 |
define ("JS_SEARCH_POSTE","<SCRIPT language=\"javascript\">function SearchPoste(p_sessid,p_ctl) |
define ("JS_SEARCH_POSTE","<SCRIPT language=\"javascript\">function SearchPoste(p_sessid,p_ctl,p_jrn) |
114 |
{ |
{ |
115 |
var win=window.open('poste_search.php?p_ctl='+p_ctl+'&PHPSESSID='+p_sessid,'Cherche','toolbar=no,width=600,height=600,scrollbars=yes,resizable=yes'); |
var win=window.open('poste_search.php?p_jrn='+p_jrn+'p_ctl='+p_ctl+'&PHPSESSID='+p_sessid,'Cherche','toolbar=no,width=600,height=600,scrollbars=yes,resizable=yes'); |
116 |
} |
} |
117 |
function SearchPosteFilter(p_sessid,p_ctl,p_filter) |
function SearchPosteFilter(p_sessid,p_ctl,p_filter,jrn) |
118 |
{ |
{ |
119 |
var win=window.open('poste_search.php?p_ctl='+p_ctl+'&PHPSESSID='+p_sessid+'&filter='+p_filter,'Cherche','toolbar=no,width=600,height=600,scrollbars=yes,resizable=yes'); |
var win=window.open('poste_search.php?p_jrn='+jrn+'&p_ctl='+p_ctl+'&PHPSESSID='+p_sessid+'&filter='+p_filter,'Cherche','toolbar=no,width=600,height=600,scrollbars=yes,resizable=yes'); |
120 |
} |
} |
121 |
function GetIt() { |
function GetIt() { |
122 |
window.close(); |
window.close(); |
191 |
/* type must be cred or deb and name is |
/* type must be cred or deb and name is |
192 |
* the control's name |
* the control's name |
193 |
*/ |
*/ |
194 |
function SearchCard(p_sessid,type,name) |
function SearchCard(p_sessid,type,name,jrn) |
195 |
{ |
{ |
196 |
var a=window.open('fiche_search.php?PHPSESSID='+p_sessid+'&type='+type+'&name='+name,'item','toolbar=no,width=350,height=450,scrollbars=yes'); |
var a=window.open('fiche_search.php?p_jrn='+jrn+'&PHPSESSID='+p_sessid+'&type='+type+'&name='+name,'item','toolbar=no,width=350,height=450,scrollbars=yes'); |
197 |
} |
} |
198 |
function NewCard(p_sessid,type,name) |
function NewCard(p_sessid,type,name,jrn) |
199 |
{ |
{ |
200 |
var a=window.open('fiche_new.php?PHPSESSID='+p_sessid+'&type='+type+'&name='+name,'item','toolbar=no,width=350,height=450,scrollbars=yes'); |
var a=window.open('fiche_new.php?p_jrn='+jrn+'&PHPSESSID='+p_sessid+'&type='+type+'&name='+name,'item','toolbar=no,width=350,height=450,scrollbars=yes'); |
201 |
} |
} |
202 |
/* SetValue( p_ctl,p_value ) |
/* SetValue( p_ctl,p_value ) |
203 |
/* p_ctl is the name of the control |
/* p_ctl is the name of the control |