phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc/class.soagreement.inc.php, 1.3.2.9


From: nomail
Subject: [Phpgroupware-cvs] property/inc/class.soagreement.inc.php, 1.3.2.9
Date: Mon, 27 Dec 2004 14:58:53 +0100

Update of /property/inc
Modified Files:
        Branch: proposed-0_9_18-branch
          class.soagreement.inc.php

date: 2004/12/27 13:58:53;  author: sigurdne;  state: Exp;  lines: +7 -6

Log Message:
no message
=====================================================================
Index: property/inc/class.soagreement.inc.php
diff -u property/inc/class.soagreement.inc.php:1.3.2.8 
property/inc/class.soagreement.inc.php:1.3.2.9
--- property/inc/class.soagreement.inc.php:1.3.2.8      Tue Dec  7 09:04:28 2004
+++ property/inc/class.soagreement.inc.php      Mon Dec 27 13:58:53 2004
@@ -339,13 +339,14 @@
                                        {
                                                $contact_data   = 
$contacts->read_single_entry($value,array('n_given'=>'n_given','n_family'=>'n_family','email'=>'email'));
                                                
$agreement_list[$j][$cols_return_extra[$i]['name']]     = 
$contact_data[0]['n_family'] . ', ' . $contact_data[0]['n_given'];
-
-
-/*                                             $sql="SELECT org_name FROM 
phpgw_addressbook where id=$value";
+                                       }
+                                       
elseif($cols_return_extra[$i]['datatype']=='VENDOR' && $value):
+                                       {
+                                               $sql="SELECT org_name FROM 
fm_vendor where id=$value";
                                                $this->db2->query($sql);
                                                $this->db2->next_record();
                                                
$agreement_list[$j][$cols_return_extra[$i]['name']] = $this->db2->f('org_name');
-*/
+
                                        }
                                        
elseif($cols_return_extra[$i]['datatype']=='CH' && $value):
                                        {
@@ -854,7 +855,7 @@
                        {
                                foreach($values_attribute as $entry)
                                {
-                                       if($entry['datatype']!='AB')
+                                       if($entry['datatype']!='AB' && 
$entry['datatype']!='VENDOR')
                                        {
                                                $value_set[$entry['name']]      
= $entry['value'];
                                        }




reply via email to

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