On looking to fix this enotice through the form it turned out the
contribution form does not have a field for this - so the formValues
will never hold receipt_text.
Hence this PR removes it from the template.
Other forms do seem to have this & I will separately add userText or similar to the model
<tr>
<td>
{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}<p>{$greeting},</p>{/if}
- {if !empty($formValues.receipt_text)}
- <p>{$formValues.receipt_text|htmlize}</p>
- {else}
<p>{ts}Below you will find a receipt for this contribution.{/ts}</p>
- {/if}
</td>
</tr>
<tr>
{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if}
-{if !empty($formValues.receipt_text)}
-{$formValues.receipt_text}
-{else}{ts}Below you will find a receipt for this contribution.{/ts}{/if}
+{ts}Below you will find a receipt for this contribution.{/ts}
===========================================================
{ts}Contribution Information{/ts}