Commit 67121256 authored by Pradeep Nayak's avatar Pradeep Nayak
Browse files

CRM-20901, Added submit credit card membership link

* CRM-20901: Add submit credit card membership link on membership form
parent 60050425
......@@ -65,6 +65,16 @@
<div class="crm-block crm-form-block crm-membership-form-block">
{if $newCredit AND $action EQ 1 AND $membershipMode EQ null}
<div class="action-link css_right crm-link-credit-card-mode">
{if $contactId}
{capture assign=ccModeLink}{crmURL p='civicrm/contact/view/membership' q="reset=1&action=add&cid=`$contactId`&context=`$context`&mode=live"}{/capture}
{capture assign=ccModeLink}{crmURL p='civicrm/contact/view/membership' q="reset=1&action=add&context=standalone&mode=live"}{/capture}
<a class="open-inline-noreturn action-item crm-hover-button" href="{$ccModeLink}">&raquo; {ts}submit credit card membership{/ts}</a>
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
{if $action eq 8}
<div class="messages status no-popup">
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment