Always display amount paid even if it is 0.00. Blank looks like it's missing data...
authorMatthew Wire (MJW Consulting) <mjw@mjwconsult.co.uk>
Wed, 6 Nov 2019 16:22:16 +0000 (16:22 +0000)
committerMatthew Wire (MJW Consulting) <mjw@mjwconsult.co.uk>
Tue, 3 Dec 2019 16:19:26 +0000 (16:19 +0000)
templates/CRM/Contribute/Page/PaymentInfo.tpl

index 5c9095864f96122fa580f113a93991041ae1e13e..ad4ed127dde04c4d6841b5cb8ea7c7950c7e5f8a 100644 (file)
@@ -47,7 +47,6 @@ CRM.$(function($) {
   <tr>
     <td>{$paymentInfo.total|crmMoney:$paymentInfo.currency}</td>
     <td class='right'>
-      {if $paymentInfo.paid > 0}
         {$paymentInfo.paid|crmMoney:$paymentInfo.currency}
         {if !$hideButtonLinks}
           <br/>
@@ -56,7 +55,6 @@ CRM.$(function($) {
             {ts}view payments{/ts}
           </a>
         {/if}
-      {/if}
     </td>
     <td class="right" id="payment-info-balance" data-balance="{$paymentInfo.balance}">{$paymentInfo.balance|crmMoney:$paymentInfo.currency}</td>
   </tr>