Can I use "if" statements in the email templates of Post Affiliate Pro?

There was a question like this:
Is there a way to write an if then statement regarding the status of transaction in the "Affiliate - New sale/lead"  notification?
 
The answer is:
Yes, it is possible, since the email templates use generic smarty syntax:
 
So you can use e.g.:
{if $statuscode eq 'D'} Sorry, this transaction has been declined {/if}
- the above mentioned code means:
If the status of transaction is Declined then display "Sorry, this transaction has been declined"
×