content) == 0 ) : ?>

content=array_merge($this->linked,$this->content); $amount_deb=($j_debit=='t')?$amount_init:0; $amount_cred=($j_debit=='f')?$amount_init:0; $linked_limit=count($this->linked); for ($i=0;$icontent);$i++): $class=""; if ( ($i % 2) == 0 ) $class="odd"; if ( $i < $linked_limit ) $class="even"; if ($linked_limit != 0 && $i==$linked_limit) { ?> > %s', $this->content[$i]['jr_id'], $gDossier, $this->content[$i]['jr_internal']); ?> content[$i]['letter'] && $this->content[$i]['j_debit']=='t')?$this->content[$i]['j_montant']:0; $amount_cred+=( $jnt_id == $this->content[$i]['letter'] && $this->content[$i]['j_debit']=='f')?$this->content[$i]['j_montant']:0; } endfor; ?>
content[$i]['j_id']==$p_jid) continue; if ( $jnt_id == $this->content[$i]['letter'] && $i >= $linked_limit) continue; $check=new ICheckbox('ck[]',$this->content[$i]['j_id']); if ( $jnt_id == $this->content[$i]['letter'] && $i < $linked_limit) $check->selected=true; else $check->selected=false; if ( $this->content[$i]['letter'] == -1 || $check->selected == true ) echo $check->input(); echo HtmlInput::hidden('letter_j_id[]',$this->content[$i]['j_id']); ?> content[$i]['letter']==-1)?" ":$this->content[$i]['letter']; ?> content[$i]['j_date_fmt'])?> content[$i]['jr_comment']?> content[$i]['j_montant'])?> content[$i]['j_debit']=='t')?'D':'C'?> db); $rec->set_jr_id($this->content[$i]['jr_id']); $a=$rec->get(); if ( $a != null ) { foreach ($a as $key => $element) { $operation=new Acc_Operation($this->db); $operation->jr_id=$element; $l_amount=$this->db->get_value("select jr_montant from jrn ". " where jr_id=$element"); echo " ".$operation->get_internal()." [ $l_amount € ]"; }//for }// if ( $a != null ) { ?>

Total lettré