Merge pull request #22812 from totten/master-queue-schema
[civicrm-core.git] / xml / templates / message_templates / membership_offline_receipt_html.tpl
index bb23c959a1e054dd49b74342cbce01e97ed8267a..204abf787d55e4e270c9ab702436c8d87fa43d78 100644 (file)
     <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}