phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r5244 - in phpcompta/trunk/include: . template


From: phpcompta-dev
Subject: [Phpcompta-dev] r5244 - in phpcompta/trunk/include: . template
Date: Sat, 11 May 2013 22:42:48 +0200 (CEST)

Author: danydb
Date: 2013-05-11 22:42:48 +0200 (Sat, 11 May 2013)
New Revision: 5244

Modified:
   phpcompta/trunk/include/fiche.inc.php
   phpcompta/trunk/include/template/fiche_list.php
Log:
task #0000837: CARD liste ajout du poste comptable

Modified: phpcompta/trunk/include/fiche.inc.php
===================================================================
--- phpcompta/trunk/include/fiche.inc.php       2013-05-11 20:31:43 UTC (rev 
5243)
+++ phpcompta/trunk/include/fiche.inc.php       2013-05-11 20:42:48 UTC (rev 
5244)
@@ -196,9 +196,10 @@
                select f_id,
                        (select ad_value from fiche_detail as fd1 where ad_id=1 
and fd1.f_id=f.f_id) as name,
                        (select ad_value from fiche_detail as fd1 where 
ad_id=23 and fd1.f_id=f.f_id) as qcode,
-                       fd_label
+                       fd_label,
+                       (select ad_value from fiche_detail as fd1 where ad_id=5 
and fd1.f_id=f.f_id) as poste
                from fiche as f join fiche_def as fd on (fd.fd_id=f.fd_id)
-               $cond   order by 2 offset $offset $limit
+               $cond   order by 2,4 offset $offset $limit
        ");
        $nb_line = Database::num_row($res);
        if ($write != 1 || $allcard != 0 )  $str_add_card="";

Modified: phpcompta/trunk/include/template/fiche_list.php
===================================================================
--- phpcompta/trunk/include/template/fiche_list.php     2013-05-11 20:31:43 UTC 
(rev 5243)
+++ phpcompta/trunk/include/template/fiche_list.php     2013-05-11 20:42:48 UTC 
(rev 5244)
@@ -37,6 +37,9 @@
                                Nom
 
                        </th>
+                       <th>
+                               Poste Comptable
+                       </th>
                        <? if ($allcard == 1 ) : ?>
                        <th>
                                Catégorie
@@ -57,6 +60,9 @@
                                <td>
                                        <?= h($row['name'])?>
                                </td>
+                               <td>
+                                       
<?=HtmlInput::history_account($row['poste'],$row['poste'])?>
+                               </td>
                                <? if ($allcard == 1 ) : ?>
                                <td>
                                        <?= h($row['fd_label'])?>



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