Guest User

Untitled

a guest
Jan 23rd, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. HTMLBody = HTMLBody + 'Please print off a copy and hand to the Trainer on the morning of the course.<br><br>';
  2. HTMLBody = HTMLBody + 'If you have any questions please don't hesitate to contact our Customer Service Team on 1-800-374-3818.<br><br>';
  3. HTMLBody = HTMLBody + 'Kind Regards,<br>Training and Improvement Solutions<br><br>';
  4. HTMLBody = HTMLBody + '<b><u>Course Information</u></b><br><br>';
  5. if(classObj.Class_End_Date__c != null)**{
  6. HTMLBody = HTMLBody + 'Course Name: ' + classObj.Course_Name__r.Name + '<br>' + 'Current Revision:' + crs.Current_Revision__c.format() + '<br>' + 'Class Dates: ' + classObj.Class_Begin_Date__c.day() + '/' + classObj.Class_Begin_Date__c.month() + '/' + classObj.Class_Begin_Date__c.year() + ' - ' + classObj.Class_End_Date__c.day() + '/' + classObj.Class_End_Date__c.month() + '/' + classObj.Class_End_Date__c.year() + '<br>';
  7. }** else {
  8. HTMLBody = HTMLBody + 'Course Name: ' + classObj.Course_Name__r.Name + '<br>' + 'Current Revision:' + crs.Current_Revision__c.format() + '<br>' + 'Class Dates: ' + classObj.Class_Begin_Date__c.day() + '/' + classObj.Class_Begin_Date__c.month() + '/' + classObj.Class_Begin_Date__c.year() + ' - N/A<br>';
  9. }
  10. HTMLBody = HTMLBody + 'Class Location: ' + classObj.Class_Location__c + '<br><br>';
  11.  
  12. HTMLBody = HTMLBody + '<b><u>Venue Details</u></b><br><br>';
  13. HTMLBody = HTMLBody + classObj.Venue__r.Name + '<br>';
Add Comment
Please, Sign In to add comment