phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r5130 - phpcompta/tags/rel650/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r5130 - phpcompta/tags/rel650/include
Date: Mon, 1 Oct 2012 22:03:43 +0200 (CEST)

Author: danydb
Date: 2012-10-01 22:03:42 +0200 (Mon, 01 Oct 2012)
New Revision: 5130

Modified:
   phpcompta/tags/rel650/include/class_acc_ledger_fin.php
Log:
CSS pr?\195?\169sentation, remplace fieldset

Modified: phpcompta/tags/rel650/include/class_acc_ledger_fin.php
===================================================================
--- phpcompta/tags/rel650/include/class_acc_ledger_fin.php      2012-10-01 
19:30:20 UTC (rev 5129)
+++ phpcompta/tags/rel650/include/class_acc_ledger_fin.php      2012-10-01 
20:03:42 UTC (rev 5130)
@@ -367,6 +367,7 @@
                        $W1 = new ICard();
                        $W1->label = "";
                        $W1->name = "e_other" . $i;
+                       $W1->id = "e_other" . $i;
                        $W1->value = $tiers;
                        $W1->extra = 'deb';  // credits
                        $W1->typecard = 'deb';
@@ -396,6 +397,7 @@
                        }
 
                        $wcard_name = new IText("e_other_name" . $i, 
$card_name);
+                       $wcard_name->id=$wcard_name->name;
                        $wcard_name->readOnly = true;
                        $array[$i]['cname'] = $wcard_name->input();
 
@@ -502,23 +504,22 @@
 
                $r.='</fieldset>';
 
-               $r.='<fieldset><legend>Opérations financières</legend>';
+               $r.='<div class="myfieldset"><h1 class="legend">Extrait de 
compte</h1>';
                //--------------------------------------------------
                // Saldo begin end
                //-------------------------------------------------
-               $r.='<fieldset><legend>Extrait de compte</legend>';
                $r.='<table>';
                $r.='<tr>';
                // Extrait
                //--
-               $r.='<td> Numéro d\'extrait</td>' . h($e_pj);
-               $r.='<td >Solde début extrait </td>';
-               $r.='<td>' . $first_sold . '</td>';
-               $r.='<td>Solde fin extrait </td>';
-               $r.='<td>' . $last_sold . '</td>';
+               $r.=tr('<td> Numéro d\'extrait</td>' . td(h($e_pj)));
+               $r.='<tr><td >Solde début extrait </td>';
+               $r.='<td style="num">' . nbm($first_sold) . '</td></tr>';
+               $r.='<tr><td>Solde fin extrait </td>';
+               $r.='<td style="num">' . nbm($last_sold) . '</td></tr>';
                $r.='</table>';
-               $r.='</fieldset>';
 
+               $r.='<h1 class="legend">Opérations financières</h1>';
                //--------------------------------------------------
                // financial operation
                //-------------------------------------------------
@@ -582,9 +583,11 @@
                        if (${"e_concerned" . $i} != '')
                        {
                                $jr_internal = $this->db->get_array("select 
jr_internal from jrn where jr_id in (" . ${"e_concerned" . $i} . ")");
+                               $comma="";
                                for ($x = 0; $x < count($jr_internal); $x++)
                                {
-                                       
$r.=HtmlInput::detail_op(${"e_concerned" . $i}, 
$jr_internal[$x]['jr_internal']);
+                                       
$r.=$comma.HtmlInput::detail_op(${"e_concerned" . $i}, 
$jr_internal[$x]['jr_internal']);
+                                       $comma=" , ";
                                }
                        }
                        $r.='</td>';
@@ -618,7 +621,7 @@
                $r.="<br>Ajoutez une pi&egrave;ce justificative ";
                $r.=$file->input("pj", "");
 
-               $r.='</fieldset>';
+               $r.='</div>';
                //--------------------------------------------------
                // Hidden variables
                //--------------------------------------------------



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