[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [8691] property: tune the email notification
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [8691] property: tune the email notification |
Date: |
Thu, 26 Jan 2012 10:12:59 +0000 |
Revision: 8691
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8691
Author: sigurdne
Date: 2012-01-26 10:12:58 +0000 (Thu, 26 Jan 2012)
Log Message:
-----------
property: tune the email notification
Modified Paths:
--------------
trunk/property/inc/cron/default/Import_fra_basware_X205.php
Modified: trunk/property/inc/cron/default/Import_fra_basware_X205.php
===================================================================
--- trunk/property/inc/cron/default/Import_fra_basware_X205.php 2012-01-26
10:01:49 UTC (rev 8690)
+++ trunk/property/inc/cron/default/Import_fra_basware_X205.php 2012-01-26
10:12:58 UTC (rev 8691)
@@ -461,12 +461,12 @@
$rc =
$this->send->msg('email', $to, 'Ikke gyldig leverandør ved import av faktura
til Portico', $body, '', '', '','','','html');
if($rc)
{
-
$receipt['error'][] = array('msg'=> "epost sendt til {$to}");
+
$this->receipt['error'][] = array('msg'=> "epost sendt til {$to}");
}
}
catch
(phpmailerException $e)
{
-
$receipt['error'][] = array('msg' => $e->getMessage());
+
$this->receipt['error'][] = array('msg' => $e->getMessage());
}
}
}
@@ -546,12 +546,12 @@
}
catch (phpmailerException $e)
{
- $receipt['error'][] =
array('msg' => $e->getMessage());
+
$this->receipt['error'][] = array('msg' => $e->getMessage());
}
}
else
{
- $receipt['error'][] =
array('msg'=>lang('SMTP server is not set! (admin section)'));
+ $this->receipt['error'][] =
array('msg'=>lang('SMTP server is not set! (admin section)'));
}
}
@@ -620,6 +620,7 @@
$order_info['budget_responsible'] =
isset($this->config->config_data['import']['budget_responsible']) &&
$this->config->config_data['import']['budget_responsible'] ?
$this->config->config_data['import']['budget_responsible'] : 'karhal';
}
+/*
$budget_responsible_user_id =
$GLOBALS['phpgw']->accounts->name2id($order_info['budget_responsible']);
if($budget_responsible_user_id)
{
@@ -629,7 +630,7 @@
$toarray[] = $prefs['email'];
}
}
-
+*/
$order_info['toarray'] = $toarray;
return $order_info;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [8691] property: tune the email notification,
Sigurd Nes <=