From 75d7bcae4e0defbf911aaf3fbce95fc4b13d7ce5 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Thu, 3 Oct 2013 10:43:02 +0000 Subject: [PATCH] Highlight in PRINTPOSTE --- html/style.css | 5 +++++ include/class_acc_operation.php | 11 +++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/html/style.css b/html/style.css index be56d8179..777e4748a 100644 --- a/html/style.css +++ b/html/style.css @@ -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;; } diff --git a/include/class_acc_operation.php b/include/class_acc_operation.php index 0ee087afd..84beae04f 100644 --- a/include/class_acc_operation.php +++ b/include/class_acc_operation.php @@ -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.=''; - $r.=''; + $border=' class="highlight"'; + $r.=''; + $r.=''; $a=$l['j_qcode']; - ; + $r_notable.=$a; $r.=$a; $csv.='"'.$a.'";';