Skip to content

Commit

Permalink
adds final fields to form, and finalizes a VF-based email template
Browse files Browse the repository at this point in the history
  • Loading branch information
jonsayer committed Aug 14, 2019
1 parent 577ba56 commit 4affefe
Show file tree
Hide file tree
Showing 6 changed files with 550 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/classes/C501_CTRL_ClassReg_CreateAcct.cls
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ public class C501_CTRL_ClassReg_CreateAcct {
nextStartDate = Datetime.newInstance(schoolNameText.C501_Next_Program_Start_Date__c, Time.newInstance(0,0,0,0)).format('MMMMM d, yyyy');
}

Id templateId = [Select id from EmailTemplate where DeveloperName = 'C501_RegSite_Class_Registration_Confirmation_Message'].Id;
Id templateId = [Select id from EmailTemplate where DeveloperName = 'C501_Class_Registration_Confirmation_VF'].Id;

//String emailMessage = Label.C501_RegSite_ConfirmSMS+' '+schoolNameText.Name +Label.C501_RegSite_EmailConfirmP2+' '+nextStartDate+' '+Label.C501_RegSite_EmailConfirmP3+' '+teacherName+Label.C501_RegSite_EmailConfirmP4;
//C501_UTIL_ClassRegUtilities.SendEmailGeneric('[email protected]',parent.Email,Label.C501_RegSite_ConfirmSMS+' '+schoolNameText.Name,emailMessage);
Expand Down
Loading

0 comments on commit 4affefe

Please sign in to comment.