I am trying to set up an email template that changes the body of email if the amount remaining on an invoice is 0.00. I tried the following and when checking the preview it works fine but when saving I get a Cannot Compare Values Of These Types error.
<#if transaction.amountremaining == 0>
Any idea what I am doing wrong?