value=format_date($obj->det->jr_date); echo td(_('Date')).td($date->input()); ?> det->array[0]['qf_bank']); $view_card_detail=HtmlInput::card_detail($bk->get_quick_code(),h($bk->getName()), ' class="line" '); echo td(_('Compte en banque')).td($view_card_detail).td();; ?> det->array[0]['qf_other']); $view_card_detail=HtmlInput::card_detail($bk->get_quick_code(),h($bk->getName()), ' class="line" '); echo td(_('Tiers')).td($view_card_detail); ?> value=strip_tags($obj->det->jr_comment); $itext->size=40; echo td(_('Libellé')).td($itext->input(),' colspan="2" style="width:auto"'); ?> det->array[0]['qf_amount']),' class="inum"');?> value=strip_tags($obj->det->jr_pj_number); echo td(_('Pièce')).td($itext->input()); ?>
Note
style=' class="itextarea" style="width:90%;height:100%;"'; $inote->value = strip_tags($obj->det->note); echo $inote->input(); ?>
jr_id); $detail->get(); ?> MY_ANALYTIC != 'nu' /*&& $div == 'popup'*/){ $anc=new Anc_Plan($cn); $a_anc=$anc->get_list(' order by pa_id '); $x=count($a_anc); /* set the width of the col */ $str_anc .= ''._('Compt. Analytique').''; /* add hidden variables pa[] to hold the value of pa_id */ $str_anc .= Anc_Plan::hidden($a_anc); } bcscale(2); for ($e=0;$edet->array);$e++) { $row=''; $q=$detail->det->array; $fiche=new Fiche($cn); $fiche->get_by_qcode($q[$e]['j_qcode']); /* Analytic accountancy */ if ( $owner->MY_ANALYTIC != "nu" /*&& $div == 'popup'*/) { $poste=$fiche->strAttribut(ATTR_DEF_ACCOUNT); if ( preg_match('/^(6|7)/',$q[$e]['j_poste'])) { $qcode=$fiche->strAttribut(ATTR_DEF_QUICKCODE); $anc_op=new Anc_Operation($cn); $anc_op->j_id=$q[$e]['j_id']; $anc_op->in_div=$div; $str_anc.=''; $str_anc.=td($poste); $str_anc.=td($qcode); $str_anc.=td(nbm($q[$e]['j_montant'])); $str_anc.=''; $str_anc.= HtmlInput::hidden('op[]',$anc_op->j_id); $montant=($q[$e]['j_debit'] == "t")?$q[$e]['j_montant']:bcmul($q[$e]['j_montant'], -1); $str_anc.=$anc_op->display_table(1,$montant,$div); $str_anc.=''; $str_anc.=''; } } } ?>