phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: inv delivery.php,1.42,1.42.2.1 invoice.php,1.38,


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: inv delivery.php,1.42,1.42.2.1 invoice.php,1.38,1.38.2.1
Date: Sat, 13 Apr 2002 23:46:28 -0400

Update of /cvsroot/phpgroupware/inv
In directory subversions:/tmp/cvs-serv10177/inv

Modified Files:
      Tag: Version-0_9_14-branch
        delivery.php invoice.php 
Log Message:
Fix for mssql or ODBC support.

Index: delivery.php
===================================================================
RCS file: /cvsroot/phpgroupware/inv/delivery.php,v
retrieving revision 1.42
retrieving revision 1.42.2.1
diff -C2 -r1.42 -r1.42.2.1
*** delivery.php        3 Jul 2001 14:44:51 -0000       1.42
--- delivery.php        14 Apr 2002 03:46:25 -0000      1.42.2.1
***************
*** 39,45 ****
  
  /*    if(!$delivery_id) {
!           $phpgw->db->query("SELECT max(id) AS max FROM phpgw_inv_delivery");
            $phpgw->db->next_record(); 
!           $delivery_id = $phpgw->db->f('max')+1; 
        } */
  
--- 39,45 ----
  
  /*    if(!$delivery_id) {
!           $phpgw->db->query("SELECT max(id) FROM phpgw_inv_delivery");
            $phpgw->db->next_record(); 
!           $delivery_id = $phpgw->db->f(0)+1; 
        } */
  

Index: invoice.php
===================================================================
RCS file: /cvsroot/phpgroupware/inv/invoice.php,v
retrieving revision 1.38
retrieving revision 1.38.2.1
diff -C2 -r1.38 -r1.38.2.1
*** invoice.php 3 Jul 2001 14:44:51 -0000       1.38
--- invoice.php 14 Apr 2002 03:46:26 -0000      1.38.2.1
***************
*** 48,53 ****
                $errorcount = 0;
  /*    if(!$invoice_id) {
!             $phpgw->db->query("SELECT max(id) AS max FROM phpgw_inv_invoice");
!             if ($phpgw->db->next_record()) { $invoice_id = 
$phpgw->db->f("max")+1; }
            else { $invoice_id = 1; }
        } */
--- 48,53 ----
                $errorcount = 0;
  /*    if(!$invoice_id) {
!             $phpgw->db->query("SELECT max(id) FROM phpgw_inv_invoice");
!             if ($phpgw->db->next_record()) { $invoice_id = 
$phpgw->db->f(0)+1; }
            else { $invoice_id = 1; }
        } */




reply via email to

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