Highlight in PRINTPOSTE

This commit is contained in:
Dany De Bontridder 2013-10-03 10:43:02 +00:00
parent 41fb9d43dd
commit 75d7bcae4e
2 changed files with 10 additions and 6 deletions

View file

@ -304,6 +304,11 @@ tr.odd {
background-color:#DDE6FF;
font-size:0.87em;;
}
tr.highlight {
/* background-color:whitesmoke; */
font-size:0.87em;
font-weight: bold;
}
tr.even {
font-size:0.87em;;
}

View file

@ -306,14 +306,13 @@ class Acc_Operation
$csv="";
foreach ($show as $l)
{
$border="";
if ( $l['j_poste'] == $this->poste || ($l['j_qcode']==$this->qcode && trim($this->qcode) != ''))
$border=' style="border-bottom:1px solid red;"';
else
$border='';
$r.='<tr>';
$r.='<td '.$border.'>';
$border=' class="highlight"';
$r.='<tr '.$border.'>';
$r.='<td>';
$a=$l['j_qcode'];
;
$r_notable.=$a;
$r.=$a;
$csv.='"'.$a.'";';