[REF] Update Frequenecy template assignments in UpdateBilling to be consistent with...
authorSeamus Lee <seamuslee001@gmail.com>
Sun, 26 Sep 2021 23:52:14 +0000 (09:52 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Sun, 26 Sep 2021 23:52:14 +0000 (09:52 +1000)
CRM/Contribute/Form/UpdateBilling.php
templates/CRM/Contribute/Form/UpdateBilling.tpl

index c8b3065f6089c77e1465f3899b62b94a4b7bfb6a..6a439d3f1b8ea3878e753c5241e2f7fe6a75b638 100644 (file)
@@ -66,8 +66,8 @@ class CRM_Contribute_Form_UpdateBilling extends CRM_Contribute_Form_Contribution
 
     $this->assignBillingType();
 
-    $this->assign('frequency_unit', $this->getSubscriptionDetails()->frequency_unit);
-    $this->assign('frequency_interval', $this->getSubscriptionDetails()->frequency_interval);
+    $this->assign('recur_frequency_unit', $this->getSubscriptionDetails()->frequency_unit);
+    $this->assign('recur_frequency_interval', $this->getSubscriptionDetails()->frequency_interval);
     $this->assign('amount', $this->getSubscriptionDetails()->amount);
     $this->assign('installments', $this->getSubscriptionDetails()->installments);
     $this->assign('mode', $this->_mode);
index 72d13b28f657097772141073e89f490ab3d5390d..e490a94cd3f6e7f36abcb5448572cdb47a6b1d00 100644 (file)
@@ -12,7 +12,7 @@
   {if $mode eq 'auto_renew'}
       {ts}Use this form to update the credit card and billing name and address used with the auto-renewal option for your {$membershipType} membership.{/ts}
   {else}
-    <strong>{ts 1=$amount|crmMoney 2=$frequency_interval 3=$frequency_unit}Recurring Contribution Details: %1 every %2 %3{/ts}
+    <strong>{ts 1=$amount|crmMoney 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring Contribution Details: %1 every %2 %3{/ts}
     {if $installments}
       {ts 1=$installments}for %1 installments{/ts}.
     {/if}</strong>