Request reply email body
This is the body of the email that is sent as a reply (either approval or rejection) to a request made by a customer. Available variables are:
- <TMPL_VAR NAME=PRODUCT_NAME> the name of the Product in System -> Configuration or in custom API
- <TMPL_VAR NAME=SERVICE_EMAIL> email of the person set as contact in the customer
- <TMPL_VAR NAME=IS_TOPUP> Boolean, will take the value 1 if it is a top-up request, 0 otherwise
- <TMPL_VAR NAME=IS_CREDITCARD> Boolean, will take the value 1 if the charge is by external payment (credit card), 0 otherwise
- <TMPL_VAR NAME=IS_DIRECT_DEBIT> Boolean, will take the value 1 if the charge is by direct debit, 0 otherwise
- <TMPL_VAR NAME=REQUEST_ID> the id of the request from table 'requests'
- <TMPL_VAR NAME=STATUS> string representing the status of the request, will take one of the values 'new', 'approved', 'rejected', 'deleted'
- <TMPL_VAR NAME=RESPONSE> string containing the response to the request
- <TMPL_VAR NAME=APPROVED> Boolean, will take the value 1 if the request has been approved, 0 otherwise
- <TMPL_VAR NAME=REJECTED> Boolean, will take the value 1 if the request has been rejected, 0 otherwise
- <TMPL_VAR NAME=NEW> Boolean, will take the value 1 if the request is still new and, therefore not processed yet, 0 otherwise
- <TMPL_VAR NAME=XXX> Name of any column xxx from table 'customers', referring to the customer that made the request
- <TMPL_VAR NAME=YYY> Name of any column yyy from table 'people', referring to the person that is set as contact for the customer that made the request
- <TMPL_VAR NAME=ZZZ> Name of any column zzz from table 'requests', referring to the request itself