phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.uiwo_hour.php, 1.1.1.13


From: nomail
Subject: [Phpgroupware-cvs] property/class.uiwo_hour.php, 1.1.1.13
Date: Tue, 1 Jun 2004 15:06:22 +0200

Update of /property
Modified Files:
        Branch: 
          class.uiwo_hour.php

date: 2004/06/01 13:06:22;  author: sigurdne;  state: Exp;  lines: +9 -2

Log Message:
no message
=====================================================================
Index: property/class.uiwo_hour.php
diff -u property/class.uiwo_hour.php:1.1.1.12 
property/class.uiwo_hour.php:1.1.1.13
--- property/class.uiwo_hour.php:1.1.1.12       Tue May  4 11:34:26 2004
+++ property/class.uiwo_hour.php        Tue Jun  1 13:06:22 2004
@@ -790,6 +790,13 @@
 
                        $msgbox_data = $this->bocommon->msgbox_data($receipt);
 
+                       $email_list     = 
$this->bo->get_email($to_email,$workorder['vendor_id']);
+                       if(count($email_list)==1)
+                       {
+                               $to_email= $email_list[0]['email'];
+                               unset($email_list);
+                       }
+
                        $data = array
                        (
                                //'msgbox_data'                                 
=> $GLOBALS['phpgw']->common->msgbox($msgbox_data),
@@ -797,8 +804,8 @@
                                'lang_update_email'                             
=>      lang('Update email'),
                                'lang_update_email_statustext'  =>      
lang('Check to update the email-address for this vendor'),
                                'lang_to_email_address_statustext'      =>      
lang('The address to which this order will be sendt'),
-                               'to_email'                                      
        =>      $workorder['vendor_email'],
-                               'email_list'                                    
=> 
$this->bo->get_extra_email($to_email,$workorder['vendor_email'],$workorder['vendor_id']),
+                               'to_email'                                      
        => $to_email,
+                               'email_list'                                    
=> $email_list,
                                'lang_select_email'                             
=> lang('Select email'),
 
                                'send_order_action'                             
=> 
$this->bocommon->link('/index.php','sid=cookie&op='.$this->currentapp.'.uiwo_hour.view&send=true&workorder_id='
 . $workorder_id . '&show_details=' . $show_details),




reply via email to

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