noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 02/03: Cosmetic : misc operation


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 02/03: Cosmetic : misc operation
Date: Thu, 05 Nov 2015 17:28:18 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 8c06ecee6f84845bc02710c16b1dde20b359a7e6
Author: Dany De Bontridder <address@hidden>
Date:   Thu Nov 5 18:09:18 2015 +0100

    Cosmetic : misc operation
---
 html/style-classic.css             |   10 ++++++++--
 include/class/class_acc_ledger.php |   13 ++++++-------
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/html/style-classic.css b/html/style-classic.css
index 99a6ab8..084a396 100644
--- a/html/style-classic.css
+++ b/html/style-classic.css
@@ -1145,7 +1145,7 @@ span.remain {
         position:absolute;
         z-index:2
     }
address@hidden only screen and (min-width: 955px) {
address@hidden only screen and (min-width: 1155px) {
     div#jrn_name_div
     {
         float: right;
@@ -1160,13 +1160,19 @@ span.remain {
         z-index:2
     }
 }
address@hidden only screen and (max-width: 955px) {
address@hidden only screen and (max-width: 1155px) {
     div#jrn_name_div
     {
+        display: none;
     }
     #predef_form {
     }
 }
address@hidden only screen and (max-width: 900px) {
+    #predef_form {
+        display: none;
+    }
+}
 #direct
 {
     display:inline;
diff --git a/include/class/class_acc_ledger.php 
b/include/class/class_acc_ledger.php
index 12ab1e1..274f575 100644
--- a/include/class/class_acc_ledger.php
+++ b/include/class/class_acc_ledger.php
@@ -1615,20 +1615,19 @@ class Acc_Ledger extends jrn_def_sql
                $wLedger->javascript = 
"onChange='update_name();update_predef(\"ods\",\"t\",\"".$_REQUEST['ac']."\");$add_js'";
                $label = " Journal " . HtmlInput::infobulle(2);
 
-               $ret.=$label . $wLedger->input();
+        $ret.="<table>";
+               $ret.=tr(td($label ).td( $wLedger->input()));
 
 
                // Load the javascript
                //
-        $ret.="<table>";
-               $ret.= '<tr ><td colspan="2" style="width:auto">';
+               //$ret.= '<tr ><td colspan="2" style="width:auto">';
                $wDate = new IDate('e_date');
                $wDate->readonly = $p_readonly;
                $e_date = (isset($e_date) && trim($e_date) != '') ? $e_date : 
'';
                $wDate->value = $e_date;
 
-               $ret.=_("Date") . ' : ' . $wDate->input();
-               $ret.= '</td>';
+               $ret.=tr(td(_("Date") ).td( $wDate->input()));
                /* insert periode if needed */
                // Periode
                //--
@@ -1655,8 +1654,8 @@ class Acc_Ledger extends jrn_def_sql
                                }
                        }
                        $label = HtmlInput::infobulle(3);
-                       $f_periode = _("Période comptable") . " $label " . 
$l_form_per;
-                       $ret.=td($f_periode);
+                       $f_periode = td(_("Période comptable") . " $label " 
).td( $l_form_per);
+                       $ret.=tr($f_periode);
                }
                $wPJ = new IText('e_pj');
                $wPJ->readonly = false;



reply via email to

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