more whitespace -remove trailing spaces
[civicrm-core.git] / xml / templates / message_templates / membership_offline_receipt_html.tpl
index 625f047073fbd8e5cacd80fce7046a5aa8626a76..039b659f54f5df63dce2fee35ee21e3f70e24e12 100644 (file)
@@ -70,7 +70,7 @@
        </td>
       </tr>
       {/if}
-      {if $formValues.total_amount}
+      {if $formValues.total_amount OR $formValues.total_amount eq 0 }
        <tr>
         <th {$headerStyle}>
          {ts}Membership Fee{/ts}
        {foreach from=$dataArray item=value key=priceset}
         <tr>
         {if $priceset}
-         <td>&nbsp;{$taxTerm} {$priceset|string_format:"%.2f"}%</td>    
+         <td>&nbsp;{$taxTerm} {$priceset|string_format:"%.2f"}%</td>
          <td>&nbsp;{$value|crmMoney:$currency}</td>
         {elseif  $priceset == 0}
          <td>&nbsp;{ts}No{/ts} {$taxTerm}</td>
        {/foreach}
       {/if}
       {/if}
-      {if $totalTaxAmount}
+      {if isset($totalTaxAmount)}
         <tr>
          <td {$labelStyle}>
           {ts}Total Tax Amount{/ts}