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.43 invoice.php,1.38,1.39


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

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

Modified Files:
        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.43
diff -C2 -r1.42 -r1.43
*** delivery.php        3 Jul 2001 14:44:51 -0000       1.42
--- delivery.php        14 Apr 2002 03:41:54 -0000      1.43
***************
*** 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.39
diff -C2 -r1.38 -r1.39
*** invoice.php 3 Jul 2001 14:44:51 -0000       1.38
--- invoice.php 14 Apr 2002 03:41:54 -0000      1.39
***************
*** 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]