phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc/class.uipricebook.inc.php, 1.1.1.3


From: nomail
Subject: [Phpgroupware-cvs] property/inc/class.uipricebook.inc.php, 1.1.1.3
Date: Mon, 31 May 2004 22:39:11 +0200

Update of /property/inc
Modified Files:
        Branch: 
          class.uipricebook.inc.php

date: 2004/05/31 20:39:11;  author: sigurdne;  state: Exp;  lines: +14 -1

Log Message:
no message
=====================================================================
Index: property/inc/class.uipricebook.inc.php
diff -u property/inc/class.uipricebook.inc.php:1.1.1.2 
property/inc/class.uipricebook.inc.php:1.1.1.3
--- property/inc/class.uipricebook.inc.php:1.1.1.2      Sun May 30 19:10:31 2004
+++ property/inc/class.uipricebook.inc.php      Mon May 31 20:39:11 2004
@@ -727,6 +727,19 @@
 
 
                        $vendor_data = 
$this->contacts->read_single(array('actor_id'=>$vendor_id));
+
+                       if(is_array($vendor_data))
+                       {
+                               foreach($vendor_data['attributes'] as 
$attribute)
+                               {
+                                       if($attribute['name']=='org_name')
+                                       {
+                                               
$value_vendor_name=$attribute['value'];
+                                               break;
+                                       }
+                               }
+                       }
+
                        $activity = 
$this->bo->read_single_activity($activity_id);
 
                        $msgbox_data = $this->bocommon->msgbox_data($receipt);
@@ -749,7 +762,7 @@
                                'lang_vendor'                                   
=> lang('Vendor'),
                                'lang_activity'                                 
=> lang('Activity'),
 
-                               'value_vendor_name'                             
=> $vendor_data['org_name'],
+                               'value_vendor_name'                             
=> $value_vendor_name,
                                'value_activity_id'                             
=> $activity_id,
                                'value_activity_code'                   => 
$activity['num'],
                                'value_vendor_id'                               
=> $vendor_id,




reply via email to

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