phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc/cron export_info_as_files.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] property/inc/cron export_info_as_files.php
Date: Mon, 20 Aug 2007 08:13:02 +0000

CVSROOT:        /sources/phpgroupware
Module name:    property
Changes by:     Sigurd Nes <sigurdne>   07/08/20 08:13:02

Modified files:
        inc/cron       : export_info_as_files.php 

Log message:
        

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/property/inc/cron/export_info_as_files.php?cvsroot=phpgroupware&r1=1.4&r2=1.5

Patches:
Index: export_info_as_files.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/cron/export_info_as_files.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- export_info_as_files.php    17 Aug 2007 11:20:37 -0000      1.4
+++ export_info_as_files.php    20 Aug 2007 08:13:02 -0000      1.5
@@ -24,7 +24,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage custom
-       * @version $Id: export_info_as_files.php,v 1.4 2007/08/17 11:20:37 
sigurdne Exp $
+       * @version $Id: export_info_as_files.php,v 1.5 2007/08/20 08:13:02 
sigurdne Exp $
        */
 
        /**
@@ -245,8 +245,8 @@
 
                function export_tenants()
                {
-                       $descr = array('Objekt', 'Bygg','Inngang', 'Objekt 
Navn', 'Etternavn', 'Fornavn', 'Kontakt 
tlf','Gatenavn','GateNr','Etasje','Antall 
Rom','Boareal','Ferdigdato','klargjøringsstatus');
-                       $name = array('loc1', 'loc2', 'loc3','loc1_name', 
'last_name', 'first_name', 
'contact_phone','street_name','street_id','etasje','antallrom','boareal','finnish_date','klargj_st');
+                       $descr = array('Objekt', 'Bygg','Inngang','Leieobjekt', 
'Objekt Navn', 'Etternavn', 'Fornavn', 'Kontakt 
tlf','Gatenavn','GateNr','Etasje','Antall 
Rom','Boareal','Ferdigdato','klargjøringsstatus');
+                       $name = array('loc1', 'loc2', 
'loc3','loc4','loc1_name', 'last_name', 'first_name', 
'contact_phone','street_name','street_id','etasje','antallrom','boareal','finnish_date','klargj_st');
                
                        $filename= 'LEIETAKER';
                        $sql = "SELECT 
fm_location4.location_code,fm_location4.loc1,fm_location4.loc2,fm_location4.loc3,fm_location4.loc4,fm_location1.loc1_name,fm_tenant.id
 as 
tenant_id,fm_tenant.last_name,fm_tenant.first_name,fm_tenant.contact_phone,fm_streetaddress.descr
 as 
street_name,street_number,fm_location4.street_id,fm_location4.etasje,fm_location4.antallrom,fm_location4.boareal,fm_location4.finnish_date,fm_location4.klargj_st
 FROM ((((((( fm_location4 JOIN fm_location3 ON (fm_location4.loc3 = 
fm_location3.loc3) AND (fm_location4.loc2 = fm_location3.loc2) AND 
(fm_location4.loc1 = fm_location3.loc1)) JOIN fm_location2 ON 
(fm_location3.loc2 = fm_location2.loc2) AND (fm_location3.loc1 = 
fm_location2.loc1)) JOIN fm_location1 ON (fm_location2.loc1 = 
fm_location1.loc1)) JOIN fm_owner ON ( fm_location1.owner_id=fm_owner.id)) JOIN 
fm_part_of_town ON ( 
fm_location1.part_of_town_id=fm_part_of_town.part_of_town_id)) JOIN 
fm_streetaddress ON ( fm_location4.street_id=fm_streetaddress.id)) JOIN 
fm_tenant ON ( fm_location4.tenant_id=fm_tenant.id)) WHERE 
(fm_location4.category !=99 OR fm_location4.category IS NULL) ORDER BY 
last_name ASC";




reply via email to

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