noalyss Version-9
Typedefs | Variables
anc_key_input.php File Reference

Go to the source code of this file.

Typedefs

using kd_id = $1 or kd_id is null order by jrn_def_name ', array( $this->key->getp( 'id')))
 

Variables

for($i=0; $i< count($plan); $i++)( $j==0) $a_poste =$cn->make_array("select po_id,po_name from poste_analytique where pa_id=$1", 1, array($plan[$i]['pa_id']))
 
 $count_row =count($a_row)
 
 $description =new IText('description_key',$description_text)
 
 $description_text =$http->post("description_key","string",$this->key->getp('description'))
 
 $http =new HttpInput()
 
 $inum_percent =new INum('percent[]')
 
 $name =$http->post("name_key","string",$this->key->getp('name'))
 
 $percent =$a_row[$j]['ke_percent']
 
 $post_jrn =$http->post("jrn","string",-1)
 
 $select =new ISelect('po_id['.$j.'][]')
 
 $selected =-1
 
if($count_row==0) $tot_key =0
 
 $value
 
width __pad0__
 
$description css_size ='70%'
 
for($i=0; $i< count($plan); $i++) endfor
 
 for ( $j=0;$j< count( $a_row);$j++)
 
 if (( $post_jrn==-1 &&$jrn[ $i][ 'kl_id']<>"")||(is_array( $post_jrn) &&in_array( $jrn[ $i][ 'jrn_def_id'], $post_jrn)))
 
$inum_percent javascript =' onchange="format_number(this,2);anc_key_compute_table();"'
 
margin jrn_def_id
 
margin jrn_def_name
 
margin jrn_def_description from jrn_def order by jrn_def_name select kl_id
 
Disponible dans les journaux margin left
 
margin right
 
if(sizeof( $value)==1) if(isset($_POST['po_id'])) $select selected =$selected
 
$select value =$a_poste
 

Typedef Documentation

◆ kd_id

using kd_id = $1 or kd_id is null order by jrn_def_name ', array($this->key->getp('id')))

Definition at line 171 of file anc_key_input.php.

177 : ?>
178 <tr>
179 <td>
180 <?php $checkbox=new ICheckBox("jrn[]"); ?>
181 <?php $checkbox->value=$jrn[$i]['jrn_def_id']; ?>
182 <?php
183 $checkbox->selected=false;
184 if ( ($post_jrn == -1 && $jrn[$i]['kl_id']<>"" ) || (is_array($post_jrn) && in_array($jrn[$i]['jrn_def_id'], $post_jrn)))
185 {
186 $checkbox->selected=true;
187 }
tr($p_string, $p_extra='')
Definition: ac_common.php:88
td($p_string='', $p_extra='')
surround the string with td
Definition: ac_common.php:83
$post_jrn
Html Input.

Variable Documentation

◆ $a_poste

for ( $i=0;$i< count( $plan);$i++) ($j==0) $a_poste ( ) =$cn->make_array("select po_id,po_name from poste_analytique where pa_id=$1", 1, array($plan[$i]['pa_id']))

◆ $count_row

$count_row =count($a_row)

Definition at line 70 of file anc_key_input.php.

◆ $description

$description =new IText('description_key',$description_text)

Definition at line 43 of file anc_key_input.php.

◆ $description_text

$description_text =$http->post("description_key","string",$this->key->getp('description'))

Definition at line 32 of file anc_key_input.php.

◆ $http

$http =new HttpInput()

Definition at line 30 of file anc_key_input.php.

◆ $inum_percent

$inum_percent =new INum('percent[]')

Definition at line 128 of file anc_key_input.php.

◆ $name

$name =$http->post("name_key","string",$this->key->getp('name'))

Definition at line 31 of file anc_key_input.php.

◆ $percent

$percent =$a_row[$j]['ke_percent']

Definition at line 86 of file anc_key_input.php.

◆ $post_jrn

$post_jrn =$http->post("jrn","string",-1)

Definition at line 174 of file anc_key_input.php.

◆ $select

$select =new ISelect('po_id['.$j.'][]')

Definition at line 94 of file anc_key_input.php.

◆ $selected

$selected =-1

Definition at line 103 of file anc_key_input.php.

◆ $tot_key

$tot_key =0

Definition at line 77 of file anc_key_input.php.

◆ $value

Initial value:
=$cn->get_array('select po_id,ke_percent
from key_distribution_activity as ka
join key_distribution_detail using (ke_id)
join key_distribution using (kd_id)
left join poste_analytique using(po_id)
where ke_id=$1 and ka.pa_id=$2 ', array($a_row[$j]['ke_id'],$plan[$i]['pa_id']))

Definition at line 96 of file anc_key_input.php.

◆ __pad0__

width __pad0__

Definition at line 157 of file anc_key_input.php.

◆ css_size

$description css_size ='70%'

◆ endfor

endfor ( )

Definition at line 62 of file anc_key_input.php.

◆ for

for($j=0; $j< count($a_row); $j++) ( )

Definition at line 78 of file anc_key_input.php.

◆ if

if(($post_jrn==-1 && $jrn[$i]['kl_id']<>"")||(is_array($post_jrn) &&in_array($jrn[$i]['jrn_def_id'], $post_jrn))) ( ( $post_jrn==-1 &&$jrn[ $i][ 'kl_id']<>"")||(is_array( $post_jrn) &&in_array( $jrn[ $i][ 'jrn_def_id'], $post_jrn))  )

Definition at line 184 of file anc_key_input.php.

◆ javascript

$inum_percent javascript =' onchange="format_number(this,2);anc_key_compute_table();"'

Definition at line 129 of file anc_key_input.php.

◆ jrn_def_id

margin jrn_def_description from jrn_def order by jrn_def_name select jrn_def_id

◆ jrn_def_name

margin jrn_def_description from jrn_def order by jrn_def_name select jrn_def_name

Definition at line 163 of file anc_key_input.php.

Referenced by Acc_Ledger\save_new(), and Acc_Ledger\update().

◆ kl_id

margin jrn_def_description from jrn_def order by jrn_def_name select kl_id

Definition at line 168 of file anc_key_input.php.

◆ left

Disponible dans les journaux margin left

Definition at line 157 of file anc_key_input.php.

◆ right

margin right

Definition at line 157 of file anc_key_input.php.

◆ selected

$checkbox selected =$selected

Definition at line 116 of file anc_key_input.php.

◆ value

$checkbox value =$a_poste

Definition at line 95 of file anc_key_input.php.