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=""; $class= ( ($i % 2) == 0 ) ? "odd":"even"; 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]['j_debit']=='t') : ?> 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; $delta = bcsub($amount_deb, $amount_cred); $side = _('Créditeur'); if ($delta < 0 ) { $side = _("Débiteur"); $delta = abs($delta); } ?>
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'] < 0 || $check->selected == true ) echo $check->input(); echo HtmlInput::hidden('letter_j_id[]',$this->content[$i]['j_id']); ?> content[$i]['letter']< 0)?" ":strtoupper(base_convert($this->content[$i]['letter'],10,36)); ?> content[$i]['j_date_fmt'])?> content[$i]['jr_pj_number']);?> content[$i]['jr_comment'])?> content[$i]['j_montant'])?> content[$i]['j_montant'])?> 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 ) { ?>