Skip to content

Commit

Permalink
Merge pull request #26599 from eileenmcnaughton/offline_madness
Browse files Browse the repository at this point in the history
Fix e-notices in contribution_offline_receipt text by removing always-empty field
  • Loading branch information
seamuslee001 authored Jun 22, 2023
2 parents f913090 + a4c536b commit 30ab23d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@
<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>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{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}
Expand Down

0 comments on commit 30ab23d

Please sign in to comment.