fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [8615] property: email on error on import invoice


From: Sigurd Nes
Subject: [Fmsystem-commits] [8615] property: email on error on import invoice
Date: Thu, 19 Jan 2012 11:19:42 +0000

Revision: 8615
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8615
Author:   sigurdne
Date:     2012-01-19 11:19:42 +0000 (Thu, 19 Jan 2012)
Log Message:
-----------
property: email on error on import invoice

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-19 
10:34:31 UTC (rev 8614)
+++ trunk/property/inc/cron/default/Import_fra_basware_X205.php 2012-01-19 
11:19:42 UTC (rev 8615)
@@ -432,6 +432,10 @@
                                                        try
                                                        {
                                                                $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}");                   
                                
+                                                               }
                                                        }
                                                        catch 
(phpmailerException $e)
                                                        {




reply via email to

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