phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r4290 - phpcompta/trunk/include/template


From: phpcompta-dev
Subject: [Phpcompta-dev] r4290 - phpcompta/trunk/include/template
Date: Wed, 2 Nov 2011 20:02:28 +0100 (CET)

Author: danydb
Date: 2011-11-02 20:02:27 +0100 (Wed, 02 Nov 2011)
New Revision: 4290

Modified:
   phpcompta/trunk/include/template/ledger_detail_misc.php
Log:
Missing tag for ANC

Modified: phpcompta/trunk/include/template/ledger_detail_misc.php
===================================================================
--- phpcompta/trunk/include/template/ledger_detail_misc.php     2011-11-02 
19:00:59 UTC (rev 4289)
+++ phpcompta/trunk/include/template/ledger_detail_misc.php     2011-11-02 
19:02:27 UTC (rev 4290)
@@ -1,11 +1,11 @@
-<? 
-require_once('template/ledger_detail_top.php'); 
+<?
+require_once('template/ledger_detail_top.php');
 require_once('class_anc_operation.php');
 require_once('class_anc_plan.php');
 
 ?>
-<? 
-require_once('class_own.php'); 
+<?
+require_once('class_own.php');
 require_once ('class_anc_plan.php');
 ?>
 <div class="content" style="padding:0">
@@ -22,31 +22,31 @@
                                                                $date=new 
IDate('p_date');
                                                                
$date->value=format_date($obj->det->jr_date);
                                                                 echo 
td('Date').td($date->input());
-                                                                
+
                                                                 ?>
                                                                </td>
                                                                </tr>
-                                                               
+
                                                                <tr><td>
-                                                               <? 
+                                                               <?
                                                                  $itext=new 
IText('lib');
                                                                  
$itext->value=$obj->det->jr_comment;
                                                                  
$itext->size=40;
                                                                  echo 
td(_('Libellé')).td($itext->input());
-                                                               
-                                                               
+
+
                                                                ?>
                                                                </td></tr>
                                                                <tr><td>
                                                                <? echo 
td('montant').td(nbm($obj->det->jr_montant),' class="inum"');?>
                                                                </td></tr>
                                                                <tr><td>
-                                                               <? 
+                                                               <?
                                                                $itext=new 
IText('npj');
                                                                
$itext->value=$obj->det->jr_pj_number;
                                                                echo 
td(_('Pièce')).td($itext->input());
                                                                ?>
-                                                               
+
                                                                </td></tr>
                        </table>
                        </td><td>
@@ -64,7 +64,7 @@
                                                $inote->value=$obj->det->note;
                                                echo $inote->input();
                                                ?>
-                                               
+
                                                </td>
                                                </tr>
                                                </table>
@@ -98,7 +98,7 @@
       /* add hidden variables pa[] to hold the value of pa_id */
       echo Anc_Plan::hidden($a_anc);
     }
-echo '</tr>';  
+echo '</tr>';
   for ($e=0;$e<count($obj->det->array);$e++) {
     $row=''; $q=$obj->det->array;
     $view_history= sprintf('<A class="detail" 
style="text-decoration:underline" 
HREF="javascript:view_history_account(\'%s\',\'%s\')" >%s</A>',
@@ -116,7 +116,7 @@
     $row.=td($view_history);
 
     if ( $q[$e]['j_qcode'] !='') {
-      // nom de la fiche 
+      // nom de la fiche
       $ff=new Fiche($cn);
       $ff->get_by_qcode( $q[$e]['j_qcode']);
       $row.=td(h($ff->strAttribut(ATTR_DEF_NAME)));
@@ -131,13 +131,13 @@
     /* Analytic accountancy */
     if ( $owner->MY_ANALYTIC != "nu" && $div=='popup'){
       if ( preg_match('/^(6|7)/',$q[$e]['j_poste'])) {
-       
 
+echo HtmlInput::hidden("amount_t".$e,$montant);
        $anc_op=new Anc_Operation($cn);
        $anc_op->j_id=$q[$e]['j_id'];
        echo HtmlInput::hidden('op[]',$anc_op->j_id);
        $row.=$anc_op->display_table(1,$q[$e]['j_montant'],$div);
-       
+
       }  else {
        $row.=td('');
       }




reply via email to

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