| 1 | {* |
| 2 | +--------------------------------------------------------------------+ |
| 3 | | CiviCRM version 4.6 | |
| 4 | +--------------------------------------------------------------------+ |
| 5 | | Copyright CiviCRM LLC (c) 2004-2015 | |
| 6 | +--------------------------------------------------------------------+ |
| 7 | | This file is a part of CiviCRM. | |
| 8 | | | |
| 9 | | CiviCRM is free software; you can copy, modify, and distribute it | |
| 10 | | under the terms of the GNU Affero General Public License | |
| 11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | |
| 12 | | | |
| 13 | | CiviCRM is distributed in the hope that it will be useful, but | |
| 14 | | WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| 16 | | See the GNU Affero General Public License for more details. | |
| 17 | | | |
| 18 | | You should have received a copy of the GNU Affero General Public | |
| 19 | | License and the CiviCRM Licensing Exception along | |
| 20 | | with this program; if not, contact CiviCRM LLC | |
| 21 | | at info[AT]civicrm[DOT]org. If you have questions about the | |
| 22 | | GNU Affero General Public License or the licensing of CiviCRM, | |
| 23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | |
| 24 | +--------------------------------------------------------------------+ |
| 25 | *} |
| 26 | |
| 27 | <div class="crm-block crm-form-block crm-auto-renew-membership-cancellation"> |
| 28 | <div id="help"> |
| 29 | <div class="icon inform-icon"></div> |
| 30 | {if $mode eq 'auto_renew'} |
| 31 | {ts}Click the button below if you want to cancel the auto-renewal option for your {$membershipType} membership. This will not cancel your membership. However you will need to arrange payment for renewal when your membership expires.{/ts} |
| 32 | {else} |
| 33 | <strong>{ts 1=$amount|crmMoney 2=$frequency_interval 3=$frequency_unit}Recurring Contribution Details: %1 every %2 %3{/ts} |
| 34 | {if $installments} |
| 35 | {ts 1=$installments}for %1 installments{/ts}. |
| 36 | {/if}</strong> |
| 37 | <div class="content">{ts}Click the button below to cancel this commitment and stop future transactions. This does not affect contributions which have already been completed.{/ts}</div> |
| 38 | {/if} |
| 39 | {if !$cancelSupported} |
| 40 | <div class="status-warning"> |
| 41 | {ts}Automatic cancellation is not supported for this payment processor. You or the contributor will need to manually cancel this recurring contribution using the payment processor website.{/ts} |
| 42 | </div> |
| 43 | {/if} |
| 44 | </div> |
| 45 | {if !$self_service} |
| 46 | <table class="form-layout"> |
| 47 | <tr> |
| 48 | <td class="label">{$form.send_cancel_request.label}</td> |
| 49 | <td class="html-adjust">{$form.send_cancel_request.html}</td> |
| 50 | </tr> |
| 51 | <tr> |
| 52 | <td class="label">{$form.is_notify.label}</td> |
| 53 | <td class="html-adjust">{$form.is_notify.html}</td> |
| 54 | </tr> |
| 55 | </table> |
| 56 | {/if} |
| 57 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> |
| 58 | </div> |