<tr>
<td>
{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}<p>{$greeting},</p>{/if}
- {if !empty($formValues.receipt_text_signup)}
- <p>{$formValues.receipt_text_signup|htmlize}</p>
- {elseif !empty($formValues.receipt_text_renewal)}
- <p>{$formValues.receipt_text_renewal|htmlize}</p>
- {else}
+ {if $receipt_text}
+ <p>{$receipt_text|htmlize}</p>
<p>{ts}Thank you for this contribution.{/ts}</p>
{/if}
</td>
</tr>
{/foreach}
{if !empty($dataArray)}
- {if isset($formValues.total_amount) and isset($totalTaxAmount)}
+ {if $formValues.total_amount and $totalTaxAmount}
<tr>
<td {$labelStyle}>
{ts}Amount Before Tax:{/ts}
{/foreach}
{/if}
{/if}
- {if isset($totalTaxAmount)}
+ {if $totalTaxAmount}
<tr>
<td {$labelStyle}>
{ts}Total Tax Amount{/ts}