[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: property add_invoice.php,1.4,1.5 id_controle.php
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property add_invoice.php,1.4,1.5 id_controle.php,1.2,1.3 |
Date: |
Mon, 11 Nov 2002 16:34:35 -0500 |
Update of /cvsroot/phpgroupware/property
In directory subversions:/tmp/cvs-serv21666
Modified Files:
add_invoice.php id_controle.php
Log Message:
no message
Index: add_invoice.php
===================================================================
RCS file: /cvsroot/phpgroupware/property/add_invoice.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** add_invoice.php 16 Oct 2002 15:27:09 -0000 1.4
--- add_invoice.php 11 Nov 2002 21:34:33 -0000 1.5
***************
*** 114,118 ****
$GLOBALS['phpgw']->db->transaction_begin();
! $GLOBALS['phpgw']->db->query("select value from
IDGenerator where name = 'Bilagsnummer'");
$GLOBALS['phpgw']->db->next_record();
$bilagsnr = $GLOBALS['phpgw']->db->f('value')+1;
--- 114,118 ----
$GLOBALS['phpgw']->db->transaction_begin();
! $GLOBALS['phpgw']->db->query("select value from
idgenerator where name = 'Bilagsnummer'");
$GLOBALS['phpgw']->db->next_record();
$bilagsnr = $GLOBALS['phpgw']->db->f('value')+1;
***************
*** 126,130 ****
. "
$oppsynsigndato,$saksigndato,$budsjettsigndato,'$merknad','$kreditnota') ");
! $GLOBALS['phpgw']->db->query("update IDGenerator set
value='$bilagsnr' where name='Bilagsnummer'");
$GLOBALS['phpgw']->db->transaction_commit();
}
--- 126,130 ----
. "
$oppsynsigndato,$saksigndato,$budsjettsigndato,'$merknad','$kreditnota') ");
! $GLOBALS['phpgw']->db->query("update idgenerator set
value='$bilagsnr' where name='Bilagsnummer'");
$GLOBALS['phpgw']->db->transaction_commit();
}
Index: id_controle.php
===================================================================
RCS file: /cvsroot/phpgroupware/property/id_controle.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** id_controle.php 26 Oct 2002 09:03:38 -0000 1.2
--- id_controle.php 11 Nov 2002 21:34:33 -0000 1.3
***************
*** 19,23 ****
$t->set_block('preference_list_t','preference_list','list');
! $GLOBALS['phpgw']->db->query("select name from IDGenerator where name =
'workorder' ");
$GLOBALS['phpgw']->db->next_record();
--- 19,23 ----
$t->set_block('preference_list_t','preference_list','list');
! $GLOBALS['phpgw']->db->query("select name from idgenerator where name =
'workorder' ");
$GLOBALS['phpgw']->db->next_record();
***************
*** 26,33 ****
if (! $descr)
{
! $GLOBALS['phpgw']->db->query("insert into IDGenerator (name,
value,Increment,MaxValue) values ('workorder', 1000,1,0) ");
}
! $GLOBALS['phpgw']->db->query("select name from IDGenerator where name =
'project' ");
$GLOBALS['phpgw']->db->next_record();
--- 26,33 ----
if (! $descr)
{
! $GLOBALS['phpgw']->db->query("insert into idgenerator (name,
value,Increment,MaxValue) values ('workorder', 1000,1,0) ");
}
! $GLOBALS['phpgw']->db->query("select name from idgenerator where name =
'project' ");
$GLOBALS['phpgw']->db->next_record();
***************
*** 36,40 ****
if (! $descr)
{
! $GLOBALS['phpgw']->db->query("insert into IDGenerator (name,
value,Increment,MaxValue) values ('project', 1,1,0) ");
}
--- 36,40 ----
if (! $descr)
{
! $GLOBALS['phpgw']->db->query("insert into idgenerator (name,
value,Increment,MaxValue) values ('project', 1,1,0) ");
}
***************
*** 49,53 ****
$n=$entry[0];
!
$GLOBALS['phpgw']->db->query("update IDGenerator set value='$value[$n]' where
Name='$descr_h[$n]' ");
}
--- 49,53 ----
$n=$entry[0];
!
$GLOBALS['phpgw']->db->query("update idgenerator set value='$value[$n]' where
Name='$descr_h[$n]' ");
}
***************
*** 96,100 ****
$db2 = $GLOBALS['phpgw']->db;
! $sql = "select * from IDGenerator ";
$db2->query($sql,__LINE__,__FILE__);
$total_records = $db2->num_rows();
--- 96,100 ----
$db2 = $GLOBALS['phpgw']->db;
! $sql = "select * from idgenerator ";
$db2->query($sql,__LINE__,__FILE__);
$total_records = $db2->num_rows();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property add_invoice.php,1.4,1.5 id_controle.php,1.2,1.3,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: property list_gabnr.php,1.2,1.3
- Next by Date:
[Phpgroupware-cvs] CVS: property/setup tables_current.inc.php,1.14,1.15 setup.inc.php,1.11,1.12 default_records.inc.php,1.1.1.1,1.2
- Previous by thread:
[Phpgroupware-cvs] CVS: property list_gabnr.php,1.2,1.3
- Next by thread:
[Phpgroupware-cvs] CVS: property/setup tables_current.inc.php,1.14,1.15 setup.inc.php,1.11,1.12 default_records.inc.php,1.1.1.1,1.2
- Index(es):