noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 01/02: Task #2189: Hisotrique poste : intitu


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/02: Task #2189: Hisotrique poste : intitulé d'opération et libellé fiche séparés.
Date: Sat, 3 Sep 2022 07:31:08 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit a1e367cf05a90c3cc28d18ce1fc5b585c9f19e97
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Thu Sep 1 23:32:03 2022 +0200

    Task  #2189: Hisotrique poste : intitulé d'opération
    et libellé fiche séparés.
---
 html/css/style-classic7.css                | 10 +++++++---
 include/class/acc_account_ledger.class.php |  2 +-
 include/lib/html_input.class.php           |  6 +++---
 3 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/html/css/style-classic7.css b/html/css/style-classic7.css
index 8b66289a0..430c2416c 100644
--- a/html/css/style-classic7.css
+++ b/html/css/style-classic7.css
@@ -483,9 +483,9 @@ a.detail
 {
     font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
     font-family: 'openSansRegular';
-    /*! text-decoration: none; */
+    text-decoration: underline;
     display: block;
-    /*! color: #EBA308; */
+  //  color: #eb2208;
     font-weight: normal;
     background-color: transparent;
 }
@@ -808,7 +808,7 @@ a#anchorbutton, .button, a.button,div.content a.button {
     font-weight: bold;
     text-decoration:none;
     font-family: arial,verdana,sans-serif,helvetica;
-    background-image: url("image/bg-submit2.gif");
+    background-image: url("../image/bg-submit2.gif");
     background-repeat: repeat-x;
     background-position: left;
     border-color:  #0000FF;
@@ -2360,6 +2360,8 @@ td.selectedmenu {
 .visible_gt800 {
     
 }
+.v-large { display: none;}
+
 .field_follow_up
 {
     margin-top:1px;
@@ -2387,6 +2389,7 @@ td.selectedmenu {
 
 
 }
+
 /** 
  * go_up
 */
@@ -2487,6 +2490,7 @@ div.content a.arrow {
 @media (min-width: 992px) {
     .label_item {
     }
+    .v-large { display: inline;}
 
 }
 /* XL */
diff --git a/include/class/acc_account_ledger.class.php 
b/include/class/acc_account_ledger.class.php
index 858b94487..41357287e 100644
--- a/include/class/acc_account_ledger.class.php
+++ b/include/class/acc_account_ledger.class.php
@@ -463,7 +463,7 @@ class Acc_Account_Ledger
            echo "<TR $class name=\"tr_" . $let . "_" . $from_div . "\">" .
                        "<TD>".smaller_date(format_date($op['j_date']))."</TD>".
              td(h($op['jr_pj_number'])).
-             "<TD>".h($op['j_qcode'])."</TD>".
+             "<TD>".\HtmlInput::card_detail($op['j_qcode'])."</TD>".
              "<TD>".$vw_operation."</TD>".
                 "<TD>".$tiers."</TD>".
              "<TD>".h($op['description']).$op_analytic."</TD>".
diff --git a/include/lib/html_input.class.php b/include/lib/html_input.class.php
index 3f63623db..7fa10b0bb 100755
--- a/include/lib/html_input.class.php
+++ b/include/lib/html_input.class.php
@@ -565,11 +565,11 @@ class HtmlInput
     static function card_detail($p_qcode, $pname='', $p_style="",
             $p_nohistory=false)
     {
-        //if ($pname=='')$pname=$p_qcode;
+        if ($pname !=='') {$pname='<span class="v-large">('.$pname.')</span>';}
         $r="";
         $histo=($p_nohistory==true)?' ,nohistory:1':"";
-        $r.=sprintf('<a href="javascript:void(0)" %s 
onclick="fill_ipopcard({qcode:\'%s\' %s})">%s [%s]</a>',
-                $p_style, $p_qcode, $histo, $pname, $p_qcode);
+        $r.=sprintf('<a href="javascript:void(0)" %s class="detail" 
onclick="fill_ipopcard({qcode:\'%s\' %s})">%s %s</a>',
+                $p_style, $p_qcode, $histo, $p_qcode,$pname);
         return $r;
     }
 



reply via email to

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