Plugins  LAST
 All Data Structures Files Functions Variables Pages
Variables
ajax_mod_key.php File Reference

modifie clef More...

Go to the source code of this file.

Variables

 $key
 
 $str_message ="Modification ".h($key[0]['cr_name'])
 
 $note =new ITextarea('cr_note')
 
$note value =$key[0]['cr_note']
 
$note heigh =6
 
$note width =80
 
$note style ='style="border:solid blue 1px;vertical-align:text-top;" '
 
 $name =new IText('cr_name')
 
$name size =60
 
 $tantieme =new INum('cr_tantieme')
 
$tantieme javascript ='onchange="format_number(this,0);compute_key();"'
 
 $alot
 
 $init_tantieme
 

Detailed Description

modifie clef

Definition in file ajax_mod_key.php.

Variable Documentation

$alot
Initial value:
=$cn->get_array("select lot_fk as f_id,
(select ad_value from fiche_detail where f_id=lot_fk and ad_id=1) as name,
(select ad_value from fiche_detail where f_id=lot_fk and ad_id=23) as qcode,
(select ad_value from fiche_detail where f_id=lot_fk and ad_id=9) as desc,
crd_amount as l_part
from
coprop.clef_repartition_detail
where cr_id=$1
union
select
f_id,vw_name as name,quick_code as qcode,vw_description as desc, 0 as l_part
from vw_fiche_attr where fd_id=$2
and f_id not in (select lot_fk from coprop.clef_repartition_detail where cr_id=$1)",array($key_id,$g_copro_parameter->categorie_lot))
global $g_copro_parameter
global $cn

Definition at line 49 of file ajax_mod_key.php.

$init_tantieme
Initial value:
=$cn->get_value("select sum(crd_amount) from
coprop.clef_repartition_detail
where cr_id=$1",array($key_id))
global $cn

Definition at line 63 of file ajax_mod_key.php.

$key
$name =new IText('cr_name')

Definition at line 41 of file ajax_mod_key.php.

$note =new ITextarea('cr_note')

Definition at line 34 of file ajax_mod_key.php.

$str_message ="Modification ".h($key[0]['cr_name'])

Definition at line 32 of file ajax_mod_key.php.

$tantieme =new INum('cr_tantieme')

Definition at line 45 of file ajax_mod_key.php.

$note heigh =6

Definition at line 37 of file ajax_mod_key.php.

$tantieme javascript ='onchange="format_number(this,0);compute_key();"'

Definition at line 46 of file ajax_mod_key.php.

$name size =60

Definition at line 43 of file ajax_mod_key.php.

$note style ='style="border:solid blue 1px;vertical-align:text-top;" '

Definition at line 39 of file ajax_mod_key.php.

$tantieme value =$key[0]['cr_note']

Definition at line 35 of file ajax_mod_key.php.

$note width =80

Definition at line 38 of file ajax_mod_key.php.