phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r4107 - phpcompta/trunk/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r4107 - phpcompta/trunk/include
Date: Mon, 16 May 2011 18:32:01 +0200 (CEST)

Author: danydb
Date: 2011-05-16 18:32:01 +0200 (Mon, 16 May 2011)
New Revision: 4107

Modified:
   phpcompta/trunk/include/class_anc_table.php
   phpcompta/trunk/include/export_anc_table_csv.php
Log:
Fix prob. date in ANC_TABLE

Modified: phpcompta/trunk/include/class_anc_table.php
===================================================================
--- phpcompta/trunk/include/class_anc_table.php 2011-05-16 16:31:19 UTC (rev 
4106)
+++ phpcompta/trunk/include/class_anc_table.php 2011-05-16 16:32:01 UTC (rev 
4107)
@@ -258,7 +258,7 @@
        for ($i=0;$i<count($this->arow);$i++)
          {
 
-           printf('"%s"',$this->arow[$i]['j_qcode'].' 
'.$this->arow[$i]['name']);
+           printf('"%s"',$this->arow[$i]['card_account'].' 
'.$this->arow[$i]['name']);
            $tot_row=0;
            for ($x=0;$x<count($this->aheader);$x++)
              {
@@ -299,11 +299,11 @@
        for ($i=0;$i<count($this->arow);$i++)
          {
 
-           printf('"%s"',$this->arow[$i]['j_poste'].' 
'.$this->arow[$i]['name']);
+           printf('"%s"',$this->arow[$i]['card_account'].' 
'.$this->arow[$i]['name']);
            $tot_row=0;
            for ($x=0;$x<count($this->aheader);$x++)
              {
-               
$amount=$this->db->get_value($this->sql,array($this->arow[$i]['j_poste'],$this->aheader[$x]['po_id']));
+               
$amount=$this->db->get_value($this->sql,array($this->arow[$i]['card_account'],$this->aheader[$x]['po_id']));
                if ($amount==null)$amount=0;
                if ( isset($tot_col[$x]))
                  {

Modified: phpcompta/trunk/include/export_anc_table_csv.php
===================================================================
--- phpcompta/trunk/include/export_anc_table_csv.php    2011-05-16 16:31:19 UTC 
(rev 4106)
+++ phpcompta/trunk/include/export_anc_table_csv.php    2011-05-16 16:32:01 UTC 
(rev 4107)
@@ -31,4 +31,5 @@
 require_once('class_anc_table.php');
 $atable=new Anc_Table($cn);
 $atable->get_request();
-$atable->export_csv();
\ No newline at end of file
+$atable->export_csv();
+?>
\ No newline at end of file




reply via email to

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