phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r307 - tag/rel601/coprop/include/template


From: phpcompta-dev
Subject: [Phpcompta-dev] r307 - tag/rel601/coprop/include/template
Date: Thu, 22 Mar 2012 22:18:04 +0100 (CET)

Author: danydb
Date: 2012-03-22 22:18:04 +0100 (Thu, 22 Mar 2012)
New Revision: 307

Modified:
   tag/rel601/coprop/include/template/key_detail.php
Log:
0000547: PLUGIN COPRO : ajoutez b?\195?\162timent & colocataire dans clef de 
r?\195?\169partition

Modified: tag/rel601/coprop/include/template/key_detail.php
===================================================================
--- tag/rel601/coprop/include/template/key_detail.php   2012-03-22 21:02:08 UTC 
(rev 306)
+++ tag/rel601/coprop/include/template/key_detail.php   2012-03-22 21:18:04 UTC 
(rev 307)
@@ -58,8 +58,8 @@
                <th>QuickCode</th>
                <th>Nom</th>
                <th>Description</th>
+               <th>Copropriétaire</th>
                <th>Bâtiment</th>
-               <th>Copropriétaire</th>
                <th>Montant</th>
        </tr>
 <?
@@ -77,6 +77,24 @@
                 <td>
                     <?=$alot[$i]['desc']?>
                 </td>
+                               <td>
+                                       <?
+                                               $copro=$cn->get_value ("select 
ad_value
+                                                       from fiche_Detail
+                                                       where ad_id=1
+                                                       and f_id = (select 
coprop_id::integer from coprop.summary where 
lot_id=$1)",array($alot[$i]['f_id']));
+                                               echo h($copro);
+                                       ?>
+                               </td>
+                               <td>
+                                       <?
+                                               $batiment=$cn->get_value 
("select ad_value
+                                                       from fiche_Detail
+                                                       where ad_id=1
+                                                       and f_id = (select 
building_id::integer from coprop.summary where 
lot_id=$1)",array($alot[$i]['f_id']));
+                                               echo h($batiment);
+                                       ?>
+                               </td>
                <td>
                        <?
                        $num=new INum('part'.$alot[$i]['f_id']);



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