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.1,1.2


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/inc/import Import_fra_Kemner,1.1,1.2
Date: Sat, 26 Oct 2002 05:03:41 -0400

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

Modified Files:
        Import_fra_Kemner 
Log Message:
no message

Index: Import_fra_Kemner
===================================================================
RCS file: /cvsroot/phpgroupware/property/inc/import/Import_fra_Kemner,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** Import_fra_Kemner   16 Oct 2002 15:32:15 -0000      1.1
--- Import_fra_Kemner   26 Oct 2002 09:03:39 -0000      1.2
***************
*** 180,201 ****
  
                                                //Finn dima fra Boei
!                                               $sql = "select 
boei_gabnr.objekt_id, boei_gabnr.bygg_id, boei_gabnr.seksjons_id from 
boei_gabnr, boei_objekt, boei_eier "
!                                                      . "where 
substring(boei_gabnr.gabnr,5,5)='$Gnr' and "
!                                                      . "      
substring(boei_gabnr.gabnr,10,4)='$Bnr' and "
!                                                      . "      
boei_gabnr.objekt_id=boei_objekt.objekt_id and "
!                                                      . "      
boei_objekt.eier_id=boei_eier.eier_id and "
!                                                      . "      
boei_eier.eiertype_id=0";
! 
!                                               
$GLOBALS['phpgw']->db->query($sql,__LINE__,__FILE__);
!                                               
$GLOBALS['phpgw']->db->next_record();
!                       
!                                               if ($GLOBALS['phpgw']->db->f(0))
!                                               {
!                                                       
$dima=$GLOBALS['phpgw']->db->f('objekt_id').$GLOBALS['phpgw']->db->f('bygg_id').$GLOBALS['phpgw']->db->f('seksjons_id');
!                                               }
!                                               else
!                                               {
!                                                       $dima='';
!                                               }
                                                $buffer = 
$this->import_new_attrib($buffer,dima,$dima,$invoice_common);
                                        break;
--- 180,184 ----
  
                                                //Finn dima fra Boei
!                                               $dima = 
$this->soXport->gabnr_to_objekt($Gnr,$Bnr,$sekjonnr);
                                                $buffer = 
$this->import_new_attrib($buffer,dima,$dima,$invoice_common);
                                        break;





reply via email to

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