Receipt Template Fields
Object API name: dryad__Receipt_Template__c
A Receipt Template defines what a receipt PDF looks like. Sample English and French templates are created when the app is installed. You can have separate templates for donations, acknowledgments and giving summaries, in each language.
Templates are edited in the template editor, and chosen in Receipt Settings, on Receipting Accounts, or on individual gifts. See Templates and Merge Fields, and the Receipt Templates article.
Content and Layout
| Field | Data Type | Purpose |
|---|---|---|
| Content dryad__Content__c | Long Text Area | The body of the template: formatted text (HTML) with merge fields such as {!dryad__Receipt__c.dryad__Donor_Name__c}, which are replaced with the receipt's values. |
| Filename dryad__Filename__c | Text | The name given to each PDF file created from this template (without ".pdf"). It can include merge fields, for example the receipt # and issue date. New templates default to Receipt {!dryad__Receipt__c.dryad__Receipt_Name__c} {!dryad__Receipt__c.dryad__Calculated_Issue_Date__c}. Any "/" in the resulting name is replaced with "-". Checked when saved in the template editor. |
| Page Size dryad__Page_Size__c | Picklist | The paper size of the PDF: "Letter", "Legal" or "A4". |
| Page Margin (px) dryad__Page_Margin__c | Number | The blank margin around each page, in pixels. The default is 50. |
Management
| Field | Data Type | Purpose |
|---|---|---|
| Receipt Template # Name | Auto Number | The template's reference number (for example RT-00012), assigned automatically. Use Description to give the template a meaningful name. |
| Active dryad__Active__c | Checkbox | Only active templates are offered when choosing a template. A template still selected in Settings, on a Recurring Donation or on an Account can't be deactivated, and one used on any record can't be deleted. See Deactivating or Deleting a Template. |
| Description dryad__Description__c | Text | Notes about the template, such as when to use it. |
| Name and Description dryad__Name_and_Description__c | Formula (Text) | The template's number followed by its description. Shown in template pick lists so you can tell similar templates apart. |
| Last Record Id Used dryad__Last_Record_Id_Used__c | Text | No longer used, and has no effect. The app's permission sets don't give access to it. Any values in it are kept. |