[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/inc/class.uiwo_hour.inc.php, 1.1.1.2
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/inc/class.uiwo_hour.inc.php, 1.1.1.2 |
Date: |
Mon, 31 May 2004 20:36:36 +0200 |
Update of /property/inc
Modified Files:
Branch:
class.uiwo_hour.inc.php
date: 2004/05/31 18:36:36; author: sigurdne; state: Exp; lines: +9 -3
Log Message:
no message
=====================================================================
Index: property/inc/class.uiwo_hour.inc.php
diff -u property/inc/class.uiwo_hour.inc.php:1.1.1.1
property/inc/class.uiwo_hour.inc.php:1.1.1.2
--- property/inc/class.uiwo_hour.inc.php:1.1.1.1 Fri Apr 23 13:14:10 2004
+++ property/inc/class.uiwo_hour.inc.php Mon May 31 18:36:36 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,10 +804,9 @@
'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'
=>
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.uiwo_hour.view&send=true&workorder_id='
. $workorder_id . '&show_details=' . $show_details),
'lang_no_history'
=> lang('No history'),
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/inc/class.uiwo_hour.inc.php, 1.1.1.2,
nomail <=