phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: property/inc/import Import_fra_Kemner, 1.13, 1.


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/inc/import Import_fra_Kemner, 1.13, 1.14 Import_fra_BKK, 1.12, 1.13 Import_fra_Service, 1.13, 1.14
Date: Wed, 06 Aug 2003 13:08:01 -0400

Update of /cvsroot/phpgroupware/property/inc/import
In directory subversions:/tmp/cvs-serv22170/inc/import

Modified Files:
        Import_fra_Kemner Import_fra_BKK Import_fra_Service 
Log Message:
no message

Index: Import_fra_Kemner
===================================================================
RCS file: /cvsroot/phpgroupware/property/inc/import/Import_fra_Kemner,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** Import_fra_Kemner   2 Jul 2003 18:57:47 -0000       1.13
--- Import_fra_Kemner   6 Aug 2003 17:07:58 -0000       1.14
***************
*** 355,369 ****
                function import_end_file($buffer,$bilagsnr)
                {
!                       for ($i=1;$i<=count($buffer);$i++)
                        {
!                               while ( list($name,$value) = @each($buffer[$i]) 
)
!                               {
!                                       $entry[$i][$name] = $value;
!                               }
!                               
$this->soXport->add($GLOBALS['phpgw_info']['user']['account_id'],$entry[$i],$access,$cat_id);
                                $bilagsnr_end = 
$this->invoice->increment_bilagsnr();
                        }
!                       $num = $i - 1;
! 
                        $receipt['message'][]= array('msg' => 
lang('Successfully imported %1 records into your invoice register.',$num).' 
'.lang('ID').': '. $bilagsnr);
  
--- 355,366 ----
                function import_end_file($buffer,$bilagsnr)
                {
!                       $num=0;
!                       foreach ($buffer as $entry)
                        {
!                               $this->soXport->add($entry);
                                $bilagsnr_end = 
$this->invoice->increment_bilagsnr();
+                               $num++;
                        }
!                       
                        $receipt['message'][]= array('msg' => 
lang('Successfully imported %1 records into your invoice register.',$num).' 
'.lang('ID').': '. $bilagsnr);
  

Index: Import_fra_BKK
===================================================================
RCS file: /cvsroot/phpgroupware/property/inc/import/Import_fra_BKK,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** Import_fra_BKK      2 Jul 2003 18:57:47 -0000       1.12
--- Import_fra_BKK      6 Aug 2003 17:07:58 -0000       1.13
***************
*** 269,281 ****
                function import_end_file($buffer,$bilagsnr)
                {
!                       for ($i=1;$i<=count($buffer);$i++)
                        {
!                               while ( list($name,$value) = @each($buffer[$i]) 
)
!                               {
!                                       $entry[$i][$name] = $value;
!                               }
!                               
$this->soXport->add($GLOBALS['phpgw_info']['user']['account_id'],$entry[$i],$access,$cat_id);
                        }
-                       $num = $i - 1;
  
                        $receipt['message'][]= array('msg' => 
lang('Successfully imported %1 records into your invoice register.',$num).' 
'.lang('ID').': '. $bilagsnr);
--- 269,279 ----
                function import_end_file($buffer,$bilagsnr)
                {
! 
!                       $num=0;
!                       foreach ($buffer as $entry)
                        {
!                               $this->soXport->add($entry);
!                               $num++;
                        }
  
                        $receipt['message'][]= array('msg' => 
lang('Successfully imported %1 records into your invoice register.',$num).' 
'.lang('ID').': '. $bilagsnr);

Index: Import_fra_Service
===================================================================
RCS file: /cvsroot/phpgroupware/property/inc/import/Import_fra_Service,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** Import_fra_Service  22 May 2003 09:54:11 -0000      1.13
--- Import_fra_Service  6 Aug 2003 17:07:58 -0000       1.14
***************
*** 206,218 ****
                function import_end_file($buffer,$bilagsnr)
                {
!                       for ($i=1;$i<=count($buffer);$i++)
                        {
!                               while ( list($name,$value) = @each($buffer[$i]) 
)
!                               {
!                                       $entry[$i][$name] = $value;
!                               }
!                               
$this->soXport->add($GLOBALS['phpgw_info']['user']['account_id'],$entry[$i],$access,$cat_id);
                        }
-                       $num = $i - 1;
  
                        $receipt['message'][]= array('msg' => 
lang('Successfully imported %1 records into your invoice register.',$num).' 
'.lang('ID').': '. $bilagsnr);
--- 206,215 ----
                function import_end_file($buffer,$bilagsnr)
                {
!                       $num=0;
!                       foreach ($buffer as $entry)
                        {
!                               $this->soXport->add($entry);
!                               $num++;
                        }
  
                        $receipt['message'][]= array('msg' => 
lang('Successfully imported %1 records into your invoice register.',$num).' 
'.lang('ID').': '. $bilagsnr);





reply via email to

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