diff --git a/CRM/Member/Form/MembershipView.php b/CRM/Member/Form/MembershipView.php index 65c63d486883..4f3f201715e8 100644 --- a/CRM/Member/Form/MembershipView.php +++ b/CRM/Member/Form/MembershipView.php @@ -163,7 +163,7 @@ public function preProcess() { $finTypeId = CRM_Core_DAO::getFieldValue('CRM_Member_DAO_MembershipType', $values['membership_type_id'], 'financial_type_id'); $finType = CRM_Contribute_PseudoConstant::financialType($finTypeId); if (!CRM_Core_Permission::check('view contributions of type ' . $finType)) { - CRM_Core_Error::fatal(ts('You do not have permission to access this page.')); + CRM_Core_Error::statusBounce(ts('You do not have permission to access this page.')); } } else { diff --git a/templates/CRM/Contribute/Form/ContributionView.tpl b/templates/CRM/Contribute/Form/ContributionView.tpl index 5c18420a31c6..e3edf85b3f4e 100644 --- a/templates/CRM/Contribute/Form/ContributionView.tpl +++ b/templates/CRM/Contribute/Form/ContributionView.tpl @@ -95,7 +95,9 @@   {$total_amount|crmMoney:$currency}   {if $contribution_recur_id} - {ts}Recurring Contribution{/ts} + + {ts}Recurring Contribution{/ts} +
{ts}Installments{/ts}: {if $recur_installments}{$recur_installments}{else}{ts}(ongoing){/ts}{/if}, {ts}Interval{/ts}: {$recur_frequency_interval} {$recur_frequency_unit}(s) {/if} diff --git a/templates/CRM/Member/Form/MembershipView.tpl b/templates/CRM/Member/Form/MembershipView.tpl index ab24c20101d2..f95cae83f4f7 100644 --- a/templates/CRM/Member/Form/MembershipView.tpl +++ b/templates/CRM/Member/Form/MembershipView.tpl @@ -61,6 +61,14 @@ {ts}Start date{/ts}{$start_date|crmDate} {ts}End date{/ts}{$end_date|crmDate} {ts}Auto-renew{/ts}{$auto_renew} + {if $contribution_recur_id} + + {ts}Recurring Contribution{/ts} + + View Recurring Contribution + + + {/if} {include file="CRM/Custom/Page/CustomDataView.tpl"}