phpcompta-dev
[Top][All Lists]
Advanced

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

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


From: phpcompta-dev
Subject: [Phpcompta-dev] r5245 - in phpcompta/trunk: html/js include
Date: Sat, 11 May 2013 22:56:02 +0200 (CEST)

Author: danydb
Date: 2013-05-11 22:56:02 +0200 (Sat, 11 May 2013)
New Revision: 5245

Modified:
   phpcompta/trunk/html/js/infobulle.js
   phpcompta/trunk/include/class_fiche.php
   phpcompta/trunk/include/fiche.inc.php
Log:
task #814
Dans CARD, il faut afficher le poste comptable pour Balance & Historique.

Modified: phpcompta/trunk/html/js/infobulle.js
===================================================================
--- phpcompta/trunk/html/js/infobulle.js        2013-05-11 20:42:48 UTC (rev 
5244)
+++ phpcompta/trunk/html/js/infobulle.js        2013-05-11 20:56:02 UTC (rev 
5245)
@@ -54,7 +54,7 @@
 content[24]="Donnez une partie du poste comptable ou du libellé pour filtrer";
 content[25]="Donnez une partie du libellé, la date, le montant ou le numéro 
d'opération pour filtrer, cela n'efface pas ce qui a déjà été sélectionné";
 content[26]="Donnez une partie du quickcode, nom, description... pour filtrer";
-
+content[27]="Attention, <b>SI</b> la fiche a changé de poste comptable, c'est 
seulement la dernière qui est affichée";
 function showBulle(p_ctl)
 {
     d=document.getElementById('bulle');

Modified: phpcompta/trunk/include/class_fiche.php
===================================================================
--- phpcompta/trunk/include/class_fiche.php     2013-05-11 20:42:48 UTC (rev 
5244)
+++ phpcompta/trunk/include/class_fiche.php     2013-05-11 20:56:02 UTC (rev 
5245)
@@ -1908,6 +1908,10 @@
                $r = "<h2>" . h($this->getName()) . " " . 
h($this->getAttribut(ATTR_DEF_FIRST_NAME)) . '[' . $this->get_quick_code() . 
']</h2>';
                return $r;
        }
+       function get_all_account()
+       {
+               
+       }
 }
 
 ?>

Modified: phpcompta/trunk/include/fiche.inc.php
===================================================================
--- phpcompta/trunk/include/fiche.inc.php       2013-05-11 20:42:48 UTC (rev 
5244)
+++ phpcompta/trunk/include/fiche.inc.php       2013-05-11 20:56:02 UTC (rev 
5245)
@@ -304,6 +304,7 @@
                echo tr(
                                th('Quick Code') .
                                th('Libellé') .
+                               '<th>Poste'.HtmlInput::infobulle(27).'</th>'.
                                th('Débit', 'style="text-align:right"') .
                                th('Crédit', 'style="text-align:right"') .
                                th('Solde', 'style="text-align:right"') .
@@ -332,6 +333,7 @@
                        echo tr(
                                        td(HtmlInput::history_card($oCard->id, 
$oCard->strAttribut(ATTR_DEF_QUICKCODE))) .
                                        td($oCard->strAttribut(ATTR_DEF_NAME)) .
+                                       
td($oCard->strAttribut(ATTR_DEF_ACCOUNT)).
                                        td(nbm($solde['debit']), 
'style="text-align:right"') .
                                        td(nbm($solde['credit']), 
'style="text-align:right"') .
                                        td(nbm(abs($solde['solde'])), 
'style="text-align:right"') .
@@ -344,6 +346,7 @@
                 echo tr(
                                 td('').
                                 td(_('Totaux')).
+                                td('').
                                 td(nbm($sum_deb), 'style="text-align:right"').
                                 td(nbm($sum_cred), 'style="text-align:right"').
                                 td(nbm(abs($sum_solde)), 
'style="text-align:right"').
@@ -415,7 +418,7 @@
                /* skip if nothing to display */
                if (count($letter->content) == 0)
                        continue;
-               $detail_card = 
HtmlInput::card_detail($row->strAttribut(ATTR_DEF_QUICKCODE), 
$row->strAttribut(ATTR_DEF_NAME));
+               $detail_card = 
HtmlInput::card_detail($row->strAttribut(ATTR_DEF_QUICKCODE), 
$row->strAttribut(ATTR_DEF_NAME))."poste 
:".HtmlInput::infobulle(27).$row->strAttribut(ATTR_DEF_ACCOUNT);
 
                echo '<h2 
style="font-size:14px;text-align:left;margin-left:10px;padding-left:50px;border:solid
 1px blue;width:70%;text-decoration:underline">' . $detail_card . '</h2>';
 



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