phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


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

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

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

Log Message:
no message
=====================================================================
Index: property/inc/class.uiXport.inc.php
diff -u property/inc/class.uiXport.inc.php:1.1.1.2 
property/inc/class.uiXport.inc.php:1.1.1.3
--- property/inc/class.uiXport.inc.php:1.1.1.2  Sun May 30 19:10:31 2004
+++ property/inc/class.uiXport.inc.php  Mon May 31 20:39:11 2004
@@ -447,6 +447,17 @@
                        );
 
                        $vendor = 
$this->contacts->read_single(array('actor_id'=>$table[1]['spvend_code']));
+                       if(is_array($vendor))
+                       {
+                               foreach($vendor['attributes'] as $attribute)
+                               {
+                                       if($attribute['name']=='org_name')
+                                       {
+                                               
$vendor_name=$attribute['value'];
+                                               break;
+                                       }
+                               }
+                       }
 
                        $data = array
                        (
@@ -456,7 +467,7 @@
                                'lang_bilagsnr'                                 
=> lang('bilagsnr'),
                                'bilagsnr'                                      
        => $table[1]['bilagsnr'],
                                'lang_vendor'                                   
=> lang('Vendor'),
-                               'vendor_name'                                   
=> $vendor['org_name'],
+                               'vendor_name'                                   
=> $vendor_name,
                                'spvend_code'                                   
=> $table[1]['spvend_code'],
                                'lang_fakturadato'                              
=> lang('invoice date'),
                                'fakturadato'                                   
=> $table[1]['fakturadato'],




reply via email to

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