FIX impression -> poste : show the lib from the account table if no qcode

This commit is contained in:
Dany De Bontridder 2008-12-28 13:21:37 +00:00
parent 4412dd978d
commit 08df783c2e

View file

@ -204,7 +204,8 @@ function get_internal() {
$r.='</td>';
$r.='<td>';
$a=($l['vw_name']=="")?$l['j_qcode']:$l['pcm_lib'];
// $a=($l['vw_name']=="")?$l['j_qcode']:$l['pcm_lib'];
$a=(strlen(trim($l['j_qcode']))==0)?$l['pcm_lib']:$l['vw_name'];
$r_notable.=$a;
$r.=h($a);
$csv.='"'.$a.'";';