[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/inc/class.sos_agreement.inc.php, 1.10.2.10
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/inc/class.sos_agreement.inc.php, 1.10.2.10 |
Date: |
Mon, 27 Dec 2004 14:58:52 +0100 |
Update of /property/inc
Modified Files:
Branch: proposed-0_9_18-branch
class.sos_agreement.inc.php
date: 2004/12/27 13:58:52; author: sigurdne; state: Exp; lines: +7 -6
Log Message:
no message
=====================================================================
Index: property/inc/class.sos_agreement.inc.php
diff -u property/inc/class.sos_agreement.inc.php:1.10.2.9
property/inc/class.sos_agreement.inc.php:1.10.2.10
--- property/inc/class.sos_agreement.inc.php:1.10.2.9 Tue Dec 7 09:04:28 2004
+++ property/inc/class.sos_agreement.inc.php Mon Dec 27 13:58:52 2004
@@ -407,15 +407,16 @@
}
elseif($cols_return_extra[$i]['datatype']=='AB' && $value):
{
-
$contact_data =
$contacts->read_single_entry($value,array('n_given'=>'n_given','n_family'=>'n_family','email'=>'email'));
$s_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();
$s_agreement_list[$j][$cols_return_extra[$i]['name']] =
$this->db2->f('org_name');
-*/
}
elseif($cols_return_extra[$i]['datatype']=='CH' && $value):
{
@@ -820,7 +821,7 @@
{
foreach($values_attribute as $entry)
{
- if($entry['datatype']!='AB')
+ if($entry['datatype']!='AB' &&
$entry['datatype']!='VENDOR')
{
$value_set[$entry['name']]
= $entry['value'];
}
@@ -859,7 +860,7 @@
{
foreach($values_attribute as $entry)
{
- if($entry['datatype']!='AB')
+ if($entry['datatype']!='AB' &&
$entry['datatype']!='VENDOR')
{
$value_set[$entry['name']]
= $entry['value'];
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/inc/class.sos_agreement.inc.php, 1.10.2.10,
nomail <=