phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: property/inc functions.inc.php,1.8,1.9 class.soX


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/inc functions.inc.php,1.8,1.9 class.soXport.inc.php,1.5,1.6 class.invoice.inc.php,1.1,1.2
Date: Mon, 11 Nov 2002 16:34:35 -0500

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

Modified Files:
        functions.inc.php class.soXport.inc.php class.invoice.inc.php 
Log Message:
no message

Index: functions.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/property/inc/functions.inc.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** functions.inc.php   26 Oct 2002 09:03:39 -0000      1.8
--- functions.inc.php   11 Nov 2002 21:34:33 -0000      1.9
***************
*** 198,202 ****
                {
  
!                       $GLOBALS['phpgw']->db->query("select value from 
IDGenerator where name = 'workorder'");
                        $GLOBALS['phpgw']->db->next_record();
                        $id_1 = $GLOBALS['phpgw']->db->f('value');
--- 198,202 ----
                {
  
!                       $GLOBALS['phpgw']->db->query("select value from 
idgenerator where name = 'workorder'");
                        $GLOBALS['phpgw']->db->next_record();
                        $id_1 = $GLOBALS['phpgw']->db->f('value');
***************
*** 210,214 ****
                else
                {
!                       $GLOBALS['phpgw']->db->query("select value from 
IDGenerator where name = 'workorder'");
                        $GLOBALS['phpgw']->db->next_record();
                        $id = $GLOBALS['phpgw']->db->f('value');
--- 210,214 ----
                else
                {
!                       $GLOBALS['phpgw']->db->query("select value from 
idgenerator where name = 'workorder'");
                        $GLOBALS['phpgw']->db->next_record();
                        $id = $GLOBALS['phpgw']->db->f('value');
***************
*** 223,227 ****
        function increment_wrkorderid($next_id)
        {
!               $GLOBALS['phpgw']->db->query("update IDGenerator set 
value='$next_id' where name='workorder'");
        }
  
--- 223,227 ----
        function increment_wrkorderid($next_id)
        {
!               $GLOBALS['phpgw']->db->query("update idgenerator set 
value='$next_id' where name='workorder'");
        }
  
***************
*** 230,238 ****
        function create_project_id()
        {
!               $GLOBALS['phpgw']->db->query("select value from IDGenerator 
where name = 'project'");
                $GLOBALS['phpgw']->db->next_record();
                $id = $GLOBALS['phpgw']->db->f('value');
  
!               $GLOBALS['phpgw']->db->query("update IDGenerator set value= 
value + 1 where name='project'");
  
                return $id;
--- 230,238 ----
        function create_project_id()
        {
!               $GLOBALS['phpgw']->db->query("select value from idgenerator 
where name = 'project'");
                $GLOBALS['phpgw']->db->next_record();
                $id = $GLOBALS['phpgw']->db->f('value');
  
!               $GLOBALS['phpgw']->db->query("update idgenerator set value= 
value + 1 where name='project'");
  
                return $id;
***************
*** 701,705 ****
        function create_voucherid()
        {
!               $GLOBALS['phpgw']->db->query("select value from IDGenerator 
where name = 'Bilagsnummer'");
                $GLOBALS['phpgw']->db->next_record();
                $id = $GLOBALS['phpgw']->db->f('value')+1;
--- 701,705 ----
        function create_voucherid()
        {
!               $GLOBALS['phpgw']->db->query("select value from idgenerator 
where name = 'Bilagsnummer'");
                $GLOBALS['phpgw']->db->next_record();
                $id = $GLOBALS['phpgw']->db->f('value')+1;

Index: class.soXport.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/property/inc/class.soXport.inc.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** class.soXport.inc.php       11 Nov 2002 19:35:17 -0000      1.5
--- class.soXport.inc.php       11 Nov 2002 21:34:33 -0000      1.6
***************
*** 766,771 ****
                {
  
!                       $this->db->query("update IDGenerator set value = value 
+ 1 where name = 'Ecobatchid'");
!                       $this->db->query("select value from IDGenerator where 
name = 'Ecobatchid'");
                        $this->db->next_record();
                        $bilagsnr = $this->db->f('value');
--- 766,771 ----
                {
  
!                       $this->db->query("update idgenerator set value = value 
+ 1 where name = 'Ecobatchid'");
!                       $this->db->query("select value from idgenerator where 
name = 'Ecobatchid'");
                        $this->db->next_record();
                        $bilagsnr = $this->db->f('value');
***************
*** 777,781 ****
                {
  
!                       $this->db->query("select value from IDGenerator where 
name = 'Ecobatchid'");
                        $this->db->next_record();
                        $batchid = $this->db->f('value')+1;
--- 777,781 ----
                {
  
!                       $this->db->query("select value from idgenerator where 
name = 'Ecobatchid'");
                        $this->db->next_record();
                        $batchid = $this->db->f('value')+1;

Index: class.invoice.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/property/inc/class.invoice.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** class.invoice.inc.php       16 Oct 2002 15:32:15 -0000      1.1
--- class.invoice.inc.php       11 Nov 2002 21:34:33 -0000      1.2
***************
*** 44,49 ****
                {
  
!                       $GLOBALS['phpgw']->db->query("update IDGenerator set 
value = value + 1 where name = 'Bilagsnummer'");
!                       $GLOBALS['phpgw']->db->query("select value from 
IDGenerator where name = 'Bilagsnummer'");
                        $GLOBALS['phpgw']->db->next_record();
                        $bilagsnr = $GLOBALS['phpgw']->db->f('value');
--- 44,49 ----
                {
  
!                       $GLOBALS['phpgw']->db->query("update idgenerator set 
value = value + 1 where name = 'Bilagsnummer'");
!                       $GLOBALS['phpgw']->db->query("select value from 
idgenerator where name = 'Bilagsnummer'");
                        $GLOBALS['phpgw']->db->next_record();
                        $bilagsnr = $GLOBALS['phpgw']->db->f('value');
***************
*** 55,59 ****
                {
  
!                       $GLOBALS['phpgw']->db->query("select value from 
IDGenerator where name = 'Bilagsnummer'");
                        $GLOBALS['phpgw']->db->next_record();
                        $bilagsnr = $GLOBALS['phpgw']->db->f('value')+1;
--- 55,59 ----
                {
  
!                       $GLOBALS['phpgw']->db->query("select value from 
idgenerator where name = 'Bilagsnummer'");
                        $GLOBALS['phpgw']->db->next_record();
                        $bilagsnr = $GLOBALS['phpgw']->db->f('value')+1;
***************
*** 73,77 ****
                {
  
!                       $GLOBALS['phpgw']->db->query("select value from 
IDGenerator where name = 'Bilagsnummer'");
                        $GLOBALS['phpgw']->db->next_record();
                        $bilagsnr = $GLOBALS['phpgw']->db->f('value')+1;
--- 73,77 ----
                {
  
!                       $GLOBALS['phpgw']->db->query("select value from 
idgenerator where name = 'Bilagsnummer'");
                        $GLOBALS['phpgw']->db->next_record();
                        $bilagsnr = $GLOBALS['phpgw']->db->f('value')+1;





reply via email to

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