[Vtigercrm-commits] [vtiger-commits] r10564 - /vtigercrm/branches/5.0.3/modules/Users/DefaultDataPopulator.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 5 09:37:12 EDT 2007


Author: richie
Date: Thu Apr  5 07:37:06 2007
New Revision: 10564

Log:
* Added formatting, Fixes #3286

Modified:
    vtigercrm/branches/5.0.3/modules/Users/DefaultDataPopulator.php

Modified: vtigercrm/branches/5.0.3/modules/Users/DefaultDataPopulator.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Users/DefaultDataPopulator.php (original)
+++ vtigercrm/branches/5.0.3/modules/Users/DefaultDataPopulator.php Thu Apr  5 07:37:06 2007
@@ -1860,41 +1860,41 @@
  		$this->db->query("insert into vtiger_notificationscheduler(schedulednotificationid,schedulednotificationname,active,notificationsubject,notificationbody,label) values (".$this->db->getUniqueID("vtiger_notificationscheduler").",'LBL_ACTIVITY_REMINDER_DESCRIPTION' ,1,'Activity Reminder Notification','This is a reminder notification for the Activity','LBL_ACTIVITY_NOTIFICATION')");
 
 		//Inserting Inventory Notifications
-	$invoice_body = 'Dear {HANDLER},
-
+	$invoice_body = 'Dear {HANDLER},<br>
+<br>
 The current stock of {PRODUCTNAME} in our warehouse is {CURRENTSTOCK}. Kindly procure required number of units as the stock level is below reorder level {REORDERLEVELVALUE}.
-
+<br><br>
 Please treat this information as Urgent as the invoice is already sent  to the customer.
-
+<br><br>
 Severity: Critical
-
-Thanks,
+<br>
+Thanks,<br>
 {CURRENTUSER}';
 
 		
                $this->db->query("insert into vtiger_inventorynotification(notificationid,notificationname,notificationsubject,notificationbody,label) values (".$this->db->getUniqueID("vtiger_inventorynotification").",'InvoiceNotification','{PRODUCTNAME} Stock Level is Low','".$invoice_body." ','InvoiceNotificationDescription')");
 
-		$quote_body = 'Dear {HANDLER},
+		$quote_body = 'Dear {HANDLER},<br><br>
 
 Quote is generated for {QUOTEQUANTITY} units of {PRODUCTNAME}. The current stock of {PRODUCTNAME} in our warehouse is {CURRENTSTOCK}. 
-
+<br><br>
 Severity: Minor
-
-Thanks,
+<br><br>
+Thanks,<br>
 {CURRENTUSER}';	
 		
 		
                $this->db->query("insert into vtiger_inventorynotification(notificationid,notificationname,notificationsubject,notificationbody,label) values (".$this->db->getUniqueID("vtiger_inventorynotification").",'QuoteNotification','Quote given for {PRODUCTNAME}','".$quote_body." ','QuoteNotificationDescription')");
 
 		$so_body = 'Dear {HANDLER},
-
+<br><br>
 SalesOrder is generated for {SOQUANTITY} units of {PRODUCTNAME}. The current stock of {PRODUCTNAME} in our warehouse is {CURRENTSTOCK}. 
-
+<br><br>
 Please treat this information  with priority as the sales order is already generated.
-
+<br><br>
 Severity: Major
-
-Thanks,
+<br><br>
+Thanks,<br>
 {CURRENTUSER}';
 
 		





More information about the vtigercrm-commits mailing list