phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r5461 - in phpcompta/trunk: html include


From: phpcompta-dev
Subject: [Phpcompta-dev] r5461 - in phpcompta/trunk: html include
Date: Thu, 3 Oct 2013 12:43:02 +0200 (CEST)

Author: danydb
Date: 2013-10-03 12:43:02 +0200 (Thu, 03 Oct 2013)
New Revision: 5461

Modified:
   phpcompta/trunk/html/style.css
   phpcompta/trunk/include/class_acc_operation.php
Log:
Highlight in PRINTPOSTE

Modified: phpcompta/trunk/html/style.css
===================================================================
--- phpcompta/trunk/html/style.css      2013-10-03 09:54:22 UTC (rev 5460)
+++ phpcompta/trunk/html/style.css      2013-10-03 10:43:02 UTC (rev 5461)
@@ -304,6 +304,11 @@
     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;;
 }

Modified: phpcompta/trunk/include/class_acc_operation.php
===================================================================
--- phpcompta/trunk/include/class_acc_operation.php     2013-10-03 09:54:22 UTC 
(rev 5460)
+++ phpcompta/trunk/include/class_acc_operation.php     2013-10-03 10:43:02 UTC 
(rev 5461)
@@ -306,14 +306,13 @@
         $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.'";';



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]