';
$r.='| '.$fiche_name.' | ';
$r.=''.$fiche_quant.' | ';
$r.=''.$fiche_price.' | ';
$r.=" $vat_label | ";
$r.=''.round($fiche_sum,2).' | ';
$r.=''.round($fiche_amount_vat,2).' | ';
$r.=''.round($fiche_with_vat,2).' | ';
//----------------------------------------------------------------------
// CA
//----------------------------------------------------------------------
// to show a select list for the analytic
// if analytic is op (optionnel) there is a blank line
// encode the pa
if ( $own->MY_ANALYTIC!='nu') // use of AA
{
// show form
$op=new operation($p_cn);
$null=($own->MY_ANALYTIC=='op')?1:0;
$p_mode=($p_piece)?1:0;
$r.='';
$r.=$op->display_form_plan($_POST,$null,$p_mode,$i,round($fiche_sum,2));
$r.=' | ';
}
//----------------------------------------------------------------------
$r.="
";
}
// end table
$r.='