phpcompta-dev
[Top][All Lists]
Advanced

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

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


From: phpcompta-dev
Subject: [Phpcompta-dev] r5362 - in phpcompta/trunk: html include
Date: Wed, 28 Aug 2013 22:22:25 +0200 (CEST)

Author: danydb
Date: 2013-08-28 22:22:24 +0200 (Wed, 28 Aug 2013)
New Revision: 5362

Modified:
   phpcompta/trunk/html/style.css
   phpcompta/trunk/include/class_acc_ledger.php
   phpcompta/trunk/include/class_acc_ledger_purchase.php
   phpcompta/trunk/include/class_acc_ledger_sold.php
   phpcompta/trunk/include/compta_ach.inc.php
   phpcompta/trunk/include/compta_ven.inc.php
Log:
am?\195?\169liore apparence

Modified: phpcompta/trunk/html/style.css
===================================================================
--- phpcompta/trunk/html/style.css      2013-08-28 18:08:25 UTC (rev 5361)
+++ phpcompta/trunk/html/style.css      2013-08-28 20:22:24 UTC (rev 5362)
@@ -2,7 +2,6 @@
 
 BODY {
     background-color:#EDF3FF;
-    font-size:95%;
     font-family:verdana,sans-serif,helvetica;
     padding: 0px 0px 0px 0px ;
     margin:0;
@@ -44,6 +43,9 @@
     font-family:verdana,sans-serif,helvetica;
     font-size:120%;
     color:grey;
+    margin:1px;
+    padding:1px;
+    font-style: italic;
 }
 div.info {
     background:#879ed4;
@@ -284,18 +286,16 @@
 
 tr.odd {
     background-color:#DDE6FF;
-    font-size:90%;
+    font-size:75%;
 }
-tr {
-    font-size:90%;
+tr.even {
+  font-size:75%;
 }
 td.odd{
     background-color:#DDE6FF ;
-    font-size:90%;
 }
 td.even{
     border:0px;
-    font-size:90%;
 }
 td.cell{
     height:32px;
@@ -312,14 +312,13 @@
     width:120px;
 }
 a.mtitle {
-    font-size:90%;
     text-decoration:none;
     display:inline;
     color: blue;
 
 }
 a.mtitle:hover {
-    font-size:90%;
+    font-size:110%;
     text-decoration:none;
     display:inline;
 
@@ -1171,4 +1170,7 @@
 }
 #go_submit_id {
     font-size:116%;
+}
+.decale {
+    margin-left:30px;
 }
\ No newline at end of file

Modified: phpcompta/trunk/include/class_acc_ledger.php
===================================================================
--- phpcompta/trunk/include/class_acc_ledger.php        2013-08-28 18:08:25 UTC 
(rev 5361)
+++ phpcompta/trunk/include/class_acc_ledger.php        2013-08-28 20:22:24 UTC 
(rev 5362)
@@ -664,9 +664,9 @@
                $r.='<th>Pièce</td>';
                $r.=th('tiers');
                $r.='<th>Description</th>';
-               $r.=th('Notes', ' style="width:15%"');
+               $r.=th('Notes', ' ');
                $r.='<th>Montant</th>';
-               $r.="<th>" . _('Op. Concernée') . "</th>";
+               $r.="<th>" . _('Concerne') . "</th>";
                $r.="</tr>";
                // Total Amount
                $tot = 0.0;
@@ -862,7 +862,7 @@
                {
                        $r.="<th> " . _('Payé') . "</th>";
                }
-               $r.="<th>" . _('Op. Concernée') . "</th>";
+               $r.="<th>" . _('Concerne') . "</th>";
                $r.="<th>" . _('Document') . "</th>";
                $r.="</tr>";
                // Total Amount

Modified: phpcompta/trunk/include/class_acc_ledger_purchase.php
===================================================================
--- phpcompta/trunk/include/class_acc_ledger_purchase.php       2013-08-28 
18:08:25 UTC (rev 5361)
+++ phpcompta/trunk/include/class_acc_ledger_purchase.php       2013-08-28 
20:22:24 UTC (rev 5362)
@@ -1272,7 +1272,7 @@
         }
         $date_limit=$lPeriode->get_date_limit();
         $r="";
-        $r.='<TABLE  width="100%">';
+        $r.='<TABLE>';
         if ( $p_summary ) {
             $jr_id=$this->db->get_value('select jr_id from jrn where 
jr_internal=$1',array($this->internal));
             $r.="<tr>";
@@ -1319,7 +1319,8 @@
         $r.='</tr>';
         $r.='</table>';
         $r.='<h2>' . _('Détail articles achetés') . '</h2>';
-        $r.='<table class="result" border="0">';
+        $r.='<p class="decale">';
+        $r.='<table class="result" >';
         $r.='<TR>';
         $r.="<th>" . _('Code') . "</th>";
         $r.="<th>" . _('Dénomination') . "</th>";
@@ -1466,9 +1467,11 @@
 
 
         $r.='</table>';
+        $r.='</p>';
         if ( $g_parameter->MY_ANALYTIC!='nu' && !$p_summary) // use of AA
             $r.='<input type="button" class="button" value="'._('Vérifiez 
imputation analytique').'" onClick="verify_ca(\'\');">';
         $r.='<h2>Totaux</h2>';
+        $r.='<p class="decale">';
         $tot = round(bcadd($tot_amount, $tot_tva), 2);
         /* use VAT */
         if ($g_parameter->MY_TVA_USE == 'Y') {
@@ -1488,7 +1491,7 @@
         } else {
             $r.='<br>Total '.nbm(hb($tot));
         }
-       
+        $r.='</p>';
         /*  Add hidden */
         $r.=HtmlInput::hidden('e_client',$e_client);
         $r.=HtmlInput::hidden('nb_item',$nb_item);
@@ -1532,7 +1535,7 @@
             if ($p_summary == true)
                 $sel->selected = $repo;
             $r.='<h2>Dépôt</h2>';
-            $r.="<p> Dans le dépôt : ";
+            $r.="<p class=\"decale\"> Dans le dépôt : ";
             $r.=$sel->input();
             $r.='</p>';
         }
@@ -1551,7 +1554,7 @@
                                        '<p>'._('Déduction acompte 
').h($acompte).'</p>'.
                                        _('Libellé :' 
).h($e_comm_paiement).'</div>';*/
             $r.='<h2>' . "Payé par " . ${'e_mp_qcode_' . $e_mp} .
-                    " " . $fname->getName() . '</H2> ' . '<p>' . _('Déduction 
acompte ') . h($acompte) . '</p>' .
+                    " " . $fname->getName() . '</H2> ' . '<p class="decale">' 
. _('Déduction acompte ') . h($acompte) . '</p>' .
                     _('Libellé :') . h($e_comm_paiement) ;
             $r.='<br>';
             $r.='<br>';
@@ -1571,6 +1574,7 @@
     {
         $r="";
         $r.='<h2> Facturation</h2>';
+        $r.='<p class="decale">';
         // check for upload piece
         $file=new IFile();
         $file->table=0;
@@ -1593,6 +1597,7 @@
         $obj=new IText();
         $r.=_('Numero de bon de commande : ').$obj->input('bon_comm').'<br>';
         $r.=_('Autre information : ').$obj->input('other_info').'<br>';
+        $r.='</p>';
         return $r;
     }
 

Modified: phpcompta/trunk/include/class_acc_ledger_sold.php
===================================================================
--- phpcompta/trunk/include/class_acc_ledger_sold.php   2013-08-28 18:08:25 UTC 
(rev 5361)
+++ phpcompta/trunk/include/class_acc_ledger_sold.php   2013-08-28 20:22:24 UTC 
(rev 5362)
@@ -613,7 +613,8 @@
         }
         $date_limit = $lPeriode->get_date_limit();
         $r = "";
-        $r.='<TABLE  width="100%">';
+        
+        $r.='<TABLE>';
         if ( $p_summary ) {
             $jr_id=$this->db->get_value('select jr_id from jrn where 
jr_internal=$1',array($this->internal));
             $r.="<tr>";
@@ -660,7 +661,8 @@
         $r.='</tr>';
         $r.='</table>';
         $r.='<h2>' . _('Détail articles vendus') . '</h2>';
-        $r.='<table class="result" border="0">';
+        $r.='<p class="decale">';
+        $r.='<table class="result" >';
         $r.='<TR>';
         $r.="<th>" . _('Code') . "</th>";
         $r.="<th>" . _('Dénomination') . "</th>";
@@ -784,9 +786,11 @@
 
 
         $r.='</table>';
+        $r.='</p>';
         if ($g_parameter->MY_ANALYTIC != 'nu' && ! $p_summary) // use of AA
             $r.='<input type="button" class="button" value="' . _('Vérifiez 
Imputation Analytique') . '" onClick="verify_ca(\'\');">';
         $r.='<h2>Totaux</h2>';
+        $r.='<p class="decale">';
         $tot = round(bcadd($tot_amount, $tot_tva), 2);
         /* use VAT */
         if ($g_parameter->MY_TVA_USE == 'Y') {
@@ -806,7 +810,7 @@
         } else {
             $r.='<br>Total '.nbm(hb($tot));
         }
-       
+       $r.='</p>';
         if (!$p_summary) {
             $r.=$this->extra_info();
         }
@@ -838,7 +842,7 @@
             if ($p_summary == true)
                 $sel->selected = $repo;
             $r.='<h2>Dépôt</h2>';
-            $r.="<p> Dans le dépôt : ";
+            $r.="<p class=\"decale\"> Dans le dépôt : ";
             $r.=$sel->input();
             $r.='</p>';
         }
@@ -854,7 +858,7 @@
             $fname = new Fiche($this->db);
             $fname->get_by_qcode(${'e_mp_qcode_' . $e_mp});
             $r.='<h2>' . "Payé par " . ${'e_mp_qcode_' . $e_mp} .
-                    " " . $fname->getName() . '</H2> ' . '<p>' . _('Déduction 
acompte ') . h($acompte) . '</p>' .
+                    " " . $fname->getName() . '</H2> ' . '<p class="decale">' 
. _('Déduction acompte ') . h($acompte) . '</p>' .
                     _('Libellé :') . h($e_comm_paiement) ;
             $r.='<br>';
         }
@@ -887,6 +891,7 @@
         // check for upload piece
         $file = new IFile();
         $file->table = 0;
+        $r.='<p class="decale">';
         $r.=_("Ajoutez une pièce justificative ");
         $r.=$file->input("pj", "");
 
@@ -906,7 +911,7 @@
         $obj = new IText();
         $r.=_('Numero de bon de commande : ') . $obj->input('bon_comm') . 
'<br>';
         $r.=_('Autre information : ') . $obj->input('other_info') . '<br>';
-
+        $r.='</p>';
         return $r;
     }
 

Modified: phpcompta/trunk/include/compta_ach.inc.php
===================================================================
--- phpcompta/trunk/include/compta_ach.inc.php  2013-08-28 18:08:25 UTC (rev 
5361)
+++ phpcompta/trunk/include/compta_ach.inc.php  2013-08-28 20:22:24 UTC (rev 
5362)
@@ -69,12 +69,14 @@
 
                echo $Ledger->confirm($_POST);
                echo HtmlInput::hidden('ac', $_REQUEST['ac']);
-               echo '<div style="float:left;clear:both">';
+               echo '<div style="clear:both">';
 
                 echo "<h2>Modèle d'opération</h2>";
+                echo '<p class="decale">';
                 echo "Donnez un nom pour sauver cette opération comme modèle 
<br>";
                $opd_name = new IText('opd_name');
                echo "Nom du modèle " . $opd_name->input();
+                echo '</p>';
                 echo '</div>';
                echo HtmlInput::submit("record", _("Enregistrement"), 
'onClick="return verify_ca(\'\');"');
                echo HtmlInput::submit('correct', _("Corriger"));

Modified: phpcompta/trunk/include/compta_ven.inc.php
===================================================================
--- phpcompta/trunk/include/compta_ven.inc.php  2013-08-28 18:08:25 UTC (rev 
5361)
+++ phpcompta/trunk/include/compta_ven.inc.php  2013-08-28 20:22:24 UTC (rev 
5362)
@@ -81,9 +81,11 @@
            echo '<div style="clear:both">';
             
             echo "<h2>Modèle d'opération</h2>";
+            echo '<p class="decale">';
             echo "Donnez un nom pour sauver cette opération comme modèle <br>";
            $opd_name=new IText('opd_name');
            echo "Nom du modèle ".$opd_name->input();
+            echo '</p>';
            echo '</div>';
            echo HtmlInput::hidden('ac',$_REQUEST['ac']);
             echo 
HtmlInput::submit("record",_("Enregistrement"),'onClick="return 
verify_ca(\'\');"');



---
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]