[Vtigercrm-commits] [vtiger-commits] r10922 - in /vtigercrm/branches/5.0.3: cron/intimateTaskStatus.php include/language/en_us.lang.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon May 14 16:43:11 EDT 2007
Author: richie
Date: Mon May 14 14:43:03 2007
New Revision: 10922
Log:
* Fixed the issues in Support ending notification for a product, Fixed #3778
Modified:
vtigercrm/branches/5.0.3/cron/intimateTaskStatus.php
vtigercrm/branches/5.0.3/include/language/en_us.lang.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 Mon May 14 14:43:03 2007
@@ -125,14 +125,12 @@
$activevalue = $adb->fetch_array($result);
if($activevalue[0] == 1)
{
-
-$result = $adb->query("SELECT productname from vtiger_products where expiry_date like '".date('Y-m-d')."%'",$db);
-while ($myrow = $adb->fetch_array($result))
-{
- $productname=$myrow[0];
- sendmail($emailaddress,$emailaddress,$app_strings['Support_Ending'],$app_strings['Dear_Admin'].$productname ."\n ".$app_strings['kindly_renew'],$mailserver,$mailuname,$mailpwd,"");
-}
-
+ $result = $adb->query("SELECT productname from vtiger_products where expiry_date like '".date('Y-m-d')."%'",$db);
+ while ($myrow = $adb->fetch_array($result))
+ {
+ $productname=$myrow[0];
+ sendmail($emailaddress,$emailaddress,$app_strings['Support_Ending_Subject'],$app_strings['Support_Ending_Content'].$productname.$app_strings['kindly_renew'],$mailserver,$mailuname,$mailpwd,"");
+ }
}
?>
Modified: vtigercrm/branches/5.0.3/include/language/en_us.lang.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/language/en_us.lang.php (original)
+++ vtigercrm/branches/5.0.3/include/language/en_us.lang.php Mon May 14 14:43:03 2007
@@ -680,8 +680,9 @@
'Support_starting' => 'Support starting',
'Congratulations' => 'Congratulations! Your support starts from today',
'Hello_Support' => 'Hello! Support Starts for',
-'Suppport_Ending' => 'Support Ending',
-'kindly_renew' => 'ends shortly. Kindly renew your support please<br>Regards,<br>HelpDesk Team<br>',
+'Support_Ending_Subject' => 'Reg: Support Ending',
+'Support_Ending_Content' => 'Dear Admin,<br><br> This is to bring to your notice that Support Date for the product <b>',
+'kindly_renew' => '</b> ends shortly. Kindly renew your support please.<br><br>Regards,<br>HelpDesk Team<br>',
'Dear_Admin' => 'Dear Admin,<br> This is to bring to your notice that there are too many tickets pending. Kindly take the necessary action required for addressing the same<br><br> Thanks and Regards,<br> HelpDesk Team<br>',
'Pending_Tickets' => 'Too many pending tickets',
'Pending_Ticket_notification' => 'Pending Ticket notification',
More information about the vtigercrm-commits
mailing list