{{var store.getFrontendName()}}

Hi {{htmlescape var=$transaction.getAccountName()}},
{{if transaction.getIsCompleted()}} One of the orders you referred has been completed and we've transferred the commission to your account balance in our system. {{else}} We've received a refund request from one of your referrals, so we've also had to reverse the commission we added to your account for this order. We're sorry about this, we always do our best to make customers happy and minimize the number of people who ask for a refund. {{/if}} Please check your balance and ensure that everything is in order.
If you have any questions about this transaction, please contact us at {{config path='trans_email/ident_support/email'}}.

The transaction details are below. Thanks for continuing to work with {{var store.getFrontendName()}}.

Transaction (on {{var transaction.getCreatedAtFormated()}})

{{depend transaction.getPlusCommission()>0}} {{/depend}} {{depend transaction.getPlusCommission()>0}} {{/depend}}
Product(s) Total Amount Commission Additional Commission
{{var transaction.getProducts()}}   {{var transaction.getTotalAmountFormated()}}   {{var transaction.getCommissionFormated()}}   {{var transaction.getPlusCommissionFormated()}}

Thanks again,
{{var sender_name}}