content) == 0 ) : ?>
content[$i]['letter']==-1)?" aucun lettrage ":strtoupper(base_convert($this->content[$i]['letter'],10,36)); $js="this.gDossier=".dossier::id(). ";this.j_id=".$this->content[$i]['j_id']. ";this.obj_type='".$this->object_type."'". ";dsp_letter(this)"; ?> content[$i]['letter_diff'] != 0) echo $g_failed; ?> | content[$i]['j_date_fmt'])?> | content[$i]['jr_pj_number']?> | %s', $this->content[$i]['jr_id'], $gDossier, $this->content[$i]['jr_internal']); ?>content[$i]['jr_comment'])?> | content[$i]['j_debit']=='t') : ?>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()." [ ".nb($l_amount)." € ]"; }//for }// if ( $a != null ) { // compute amount $amount_deb+=($this->content[$i]['j_debit']=='t')?$this->content[$i]['j_montant']:0; $amount_cred+=($this->content[$i]['j_debit']=='f')?$this->content[$i]['j_montant']:0; ?> |