Table of Contents |
---|
Table of Contents |
---|
maxLevel | 4 |
---|
minLevel | 2 |
---|
outline | true |
---|
class | toc |
---|
|
|
Description
This email template can be used as a receipt notice of payment. After an approved payment has been entered into the system manually by staff, this email is sent to the client's email address.
...
The tags described in Blesta are only a list of commonly-used tags, for brevity.
Image RemovedImage Added
The tags below are all of those available for this email template. For other email and tag customizations, see Customizing Emails.
Tag | Description | Notes |
---|
{contact.first_name} | The client's first name |
|
|
{contact.last_name} | The client's last name |
|
|
{contact.email} | The client's email address |
|
|
{contact.id_code} | The client's ID | e.g. 1500 |
{amount} | The amount of the payment, formatted in the transaction's currency | e.g. $5.00 |
{transaction_id} | The transaction ID for the payment |
|
|
{payment_type} | The transaction type | e.g. "Credit Card" |
{date_added} | A formatted date representing the date the transaction was created | The formatting is in the company's Date Time Format |
Expand |
---|
|
Due to the nature of tag objects containing several fields, many of which are likely irrelevant for use in email templates, but may be useful to you in certain circumstances, an example dump of the tag objects are shown below. See Client Settings for a list of settings available within the {contact.settings.*} tag, e.g. {contact.settings.language}. Code Block |
---|
language | php |
---|
title | The {contact} object |
---|
collapse | true |
---|
| stdClass Object
(
[id] => 1
[id_format] => {num}
[id_value] => 1500
[user_id] => 2
[client_group_id] => 1
[primary_account_id] =>
[primary_account_type] =>
[status] => active
[id_code] => 1500
[contact_id] => 1
[first_name] => First
[last_name] => Last
[company] => Company Co.
[email] => first.last@domain.com
[address1] => 123 Main St.
[address2] =>
[city] => City
[state] => CA
[zip] => 90001
[country] => US
[group_name] => General
[company_id] => 1
[username] => first.last@domain.com
[two_factor_mode] => none
[two_factor_key] =>
[two_factor_pin] =>
[date_added] => 2014-06-25 18:05:34
[settings] => Array
(
...
[language] => en_us
...
)
) |
|
...