CRM-12081: Label on field is wrong for recurring contributions
authoryashodha <yashodha.chaku@webaccessglobal.com>
Mon, 10 Aug 2015 06:03:09 +0000 (11:33 +0530)
committeryashodha <yashodha.chaku@webaccessglobal.com>
Mon, 10 Aug 2015 06:03:09 +0000 (11:33 +0530)
----------------------------------------
* CRM-12081: Label on field is wrong for recurring contributions
  https://issues.civicrm.org/jira/browse/CRM-12081

templates/CRM/Contribute/Form/Contribution/Confirm.tpl
templates/CRM/Contribute/Form/Contribution/ThankYou.tpl

index 8035b33f94f190199c9857c2c9ba5c37e331c5cc..3d16fc6f72048d24efeee1a4364b0cd217f0aac2 100644 (file)
@@ -82,8 +82,8 @@
                 {if $totalTaxAmount }
                      {ts}Total Tax Amount{/ts}: <strong>{$totalTaxAmount|crmMoney} </strong><br />
                 {/if}
-                {if $amount }
-                    {ts}Total Amount{/ts}: <strong>{$amount|crmMoney} {if $amount_level } - {$amount_level} {/if}</strong>
+               {if $amount}
+                    {if $installments}{ts}Installment Amount{/ts}{else}{ts}Total Amount{/ts}{/if} : <strong>{$amount|crmMoney} {if $amount_level } - {$amount_level} {/if}</strong>
                 {else}
                     {$membership_name} {ts}Membership{/ts}: <strong>{$minimum_fee|crmMoney}</strong>
                 {/if}
index 311bd5c57f706d8bb73f6d56ca3b246976cc1116..31f02f7c55c882885aa372714f9d82d44f708679 100644 (file)
             {if $totalTaxAmount}
               {ts}Tax Amount{/ts}: <strong>{$totalTaxAmount|crmMoney}</strong><br />
             {/if}
-            {ts}Amount{/ts}: <strong>{$amount|crmMoney} {if $amount_level} - {$amount_level} {/if}</strong><br />
+            {if $installments}{ts}Installment Amount{/ts}{else}{ts}Amount{/ts}{/if} : <strong>{$amount|crmMoney} {if $amount_level } - {$amount_level} {/if}</strong>
           {/if}
         {/if}
         {if $receive_date}