This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CurrencyUpdater { | |
list <CurrencyType> ctl = new list<CurrencyType>([SELECT Id,IsoCode,ConversionRate FROM CurrencyType WHERE IsActive = TRUE AND IsCorporate = FALSE]); | |
map <string, CurrencyType> ctMap = new map<String, CurrencyType>(); | |
public CurrencyUpdater () { | |
for (CurrencyType ct : ctl){ | |
ctMap.put(ct.IsoCode,ct); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<messaging:emailTemplate subject="vol jobs w shifts" recipientType="Contact" relatedToType="GW_Volunteers__Volunteer_Job__c"> | |
<messaging:HTMLEmailBody> | |
Dear {!recipient.FirstName}, | |
Here is a list of shifts | |
<apex:repeat value="{!relatedTo.GW_Volunteers__Volunteer_Hours__r}" var="vh"> | |
<tr> | |
<th>Job</th> | |
<th>Start Date</th> |
NewerOlder