phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r243 - in trunk/coprop/include: . template


From: phpcompta-dev
Subject: [Phpcompta-dev] r243 - in trunk/coprop/include: . template
Date: Wed, 4 Jan 2012 17:13:42 +0100 (CET)

Author: danydb
Date: 2012-01-04 17:13:41 +0100 (Wed, 04 Jan 2012)
New Revision: 243

Modified:
   trunk/coprop/include/ajax_add_key.php
   trunk/coprop/include/ajax_mod_key.php
   trunk/coprop/include/template/key_detail.php
Log:
add description lot

Modified: trunk/coprop/include/ajax_add_key.php
===================================================================
--- trunk/coprop/include/ajax_add_key.php       2012-01-04 16:10:44 UTC (rev 
242)
+++ trunk/coprop/include/ajax_add_key.php       2012-01-04 16:13:41 UTC (rev 
243)
@@ -37,7 +37,7 @@
 $tantieme->value=0;
 
 $str_message="Ajout d'une clef de répartition";
-$alot=$cn->get_array("select f_id,vw_name as name,quick_code as qcode, 0 as 
l_part
+$alot=$cn->get_array("select f_id,vw_name as name,quick_code as qcode, 
vw_description as desc, 0 as l_part
        from vw_fiche_attr where 
fd_id=$1",array($g_copro_parameter->categorie_lot));
 echo '<form method="post">';
 require_once 'template/key_detail.php';

Modified: trunk/coprop/include/ajax_mod_key.php
===================================================================
--- trunk/coprop/include/ajax_mod_key.php       2012-01-04 16:10:44 UTC (rev 
242)
+++ trunk/coprop/include/ajax_mod_key.php       2012-01-04 16:13:41 UTC (rev 
243)
@@ -49,6 +49,7 @@
 $alot=$cn->get_array("select lot_fk as f_id,
        (select ad_value from fiche_detail where f_id=lot_fk and ad_id=1) as 
name,
        (select ad_value from fiche_detail where f_id=lot_fk and ad_id=23) as 
qcode,
+       (select ad_value from fiche_detail where f_id=lot_fk and ad_id=9) as 
desc,
        crd_amount as l_part
        from
                coprop.clef_repartition_detail

Modified: trunk/coprop/include/template/key_detail.php
===================================================================
--- trunk/coprop/include/template/key_detail.php        2012-01-04 16:10:44 UTC 
(rev 242)
+++ trunk/coprop/include/template/key_detail.php        2012-01-04 16:13:41 UTC 
(rev 243)
@@ -62,6 +62,9 @@
                        
<?=HtmlInput::card_detail($alot[$i]['qcode'],$alot[$i]['name'])?>
                        <?=HtmlInput::hidden('f_id[]',$alot[$i]['f_id'])?>
                </td>
+                <td>
+                    <?=$a_lot[$i]['desc']?>
+                </td>
                <td>
                        <?
                        $num=new INum('part'.$alot[$i]['f_id']);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]