[Vtigercrm-commits] [vtiger-commits] r10700 - /vtigercrm/branches/5.0.3/cron/intimateTaskStatus.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Apr 17 02:08:15 EDT 2007
Author: richie
Date: Tue Apr 17 00:08:10 2007
New Revision: 10700
Log:
* Fixed the issues in task status intimation, Fixed #3622
Modified:
vtigercrm/branches/5.0.3/cron/intimateTaskStatus.php
Modified: vtigercrm/branches/5.0.3/cron/intimateTaskStatus.php
==============================================================================
--- vtigercrm/branches/5.0.3/cron/intimateTaskStatus.php (original)
+++ vtigercrm/branches/5.0.3/cron/intimateTaskStatus.php Tue Apr 17 00:08:10 2007
@@ -4,7 +4,8 @@
require('send_mail.php');
require_once('config.php');
require_once('include/utils/utils.php');
-
+require_once('include/language/en_us.lang.php');
+global $app_strings;
// Email Setup
$emailresult = $adb->query("SELECT email1 from vtiger_users");
$emailid = $adb->fetch_array($emailresult);
@@ -32,7 +33,6 @@
$today = date("Ymd");
$result = $adb->query("select (vtiger_activity.date_start +1) from vtiger_activity where vtiger_activity.status <> 'Completed' and ".$today." > (vtiger_activity.date_start+1)",$db);
-" > (vtiger_activity.date_start+1)";
while ($myrow = $adb->fetch_array($result))
{
$status=$myrow[0];
@@ -57,8 +57,7 @@
$stage = $myrow[0];
if($stage == 'Closed Won' && $amount > 10000)
{
-
- sendmail($emailaddress,$emailaddress,$app_srings['Big_Deal_Closed_Successfully'],$app_strings['Dear_Team_Time_to_Party'],$mailserver,$mailuname,$mailpwd,"");
+ sendmail($emailaddress,$emailaddress,$app_strings['Big_Deal_Closed_Successfully'],$app_strings['Dear_Team_Time_to_Party'],$mailserver,$mailuname,$mailpwd,"");
}
}
@@ -136,4 +135,5 @@
}
}
+
?>
More information about the vtigercrm-commits
mailing list