Merged revisions 3726 via svnmerge from

svn+ssh://danydb@svn/svn/phpcompta/branches/rel520-attr_value

........
  r3726 | danydb | 2010-10-29 22:20:45 +0200 (Fri, 29 Oct 2010) | 1 line
  
  Task #117 : join attr_value and jnt_fic_att_value into the table fiche_detail
........
This commit is contained in:
Dany De Bontridder 2010-10-29 20:30:18 +00:00
parent 3f63958997
commit 00f2fb7884
12 changed files with 551 additions and 78 deletions

View file

@ -138,7 +138,7 @@ for ($e=0;$e<count($array);$e++)
else
{
$f_id=$cn->get_value('select f_id from vw_poste_qcode where j_qcode=$1',array($a_detail[$f]['j_qcode'])) ;
$lib=$cn->get_value('select av_text from jnt_fic_att_value join attr_value using (jft_id) where ad_id=$1 and f_id=$2',
$lib=$cn->get_value('select ad_value from fiche_detail where ad_id=$1 and f_id=$2',
array(ATTR_DEF_NAME,$f_id));
}
$pdf->Cell($size[$l],6,$lib,0,0,$align[$l]);