Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
fee14197 | 3 | | CiviCRM version 5 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
8c9251b3 | 5 | | Copyright CiviCRM LLC (c) 2004-2018 | |
6a488035 TO |
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 | <div class="crm-block crm-form-block crm-recurcontrib-form-block"> | |
0c6c47a5 | 27 | {if $changeHelpText} |
f6eedce7 | 28 | <div class="help"> |
0c6c47a5 | 29 | {$changeHelpText} |
14b61354 MW |
30 | {if $recurMembership} |
31 | <br/><strong> {ts}'WARNING: This recurring contribution is linked to membership:{/ts} | |
32 | <a class="crm-hover-button" href='{crmURL p="civicrm/contact/view/membership" q="action=view&reset=1&cid=`$contactId`&id=`$recurMembership.membership_id`&context=membership&selectedChild=member"}'>{$recurMembership.membership_name}</a> | |
33 | </strong> | |
34 | {/if} | |
35 | </div> | |
6a488035 TO |
36 | {/if} |
37 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> | |
38 | <table class="form-layout"> | |
39 | <tr> | |
40 | <td class="label">{$form.amount.label}</td> | |
41 | <td>{$form.currency.html|crmAddClass:eight} {$form.amount.html|crmAddClass:eight} ({ts}every{/ts} {$frequency_interval} {$frequency_unit})</td> | |
42 | </tr> | |
43 | <tr><td class="label">{$form.installments.label}</td><td>{$form.installments.html}<br /> | |
44 | <span class="description">{ts}Total number of payments to be made. Set this to 0 if this is an open-ended commitment i.e. no set end date.{/ts}</span></td></tr> | |
0c6c47a5 | 45 | {foreach from=$editableScheduleFields item='field'} |
46 | <tr><td class="label">{$form.$field.label}</td><td>{$form.$field.html}</td></tr> | |
47 | {/foreach} | |
6a488035 TO |
48 | {if !$self_service} |
49 | <tr><td class="label">{$form.is_notify.label}</td><td>{$form.is_notify.html}</td></tr> | |
7083dc2a | 50 | <tr><td class="label">{$form.campaign_id.label}</td><td>{$form.campaign_id.html}</td></tr> |
467fe956 | 51 | <tr><td class="label">{$form.financial_type_id.label}</td><td>{$form.financial_type_id.html}</td></tr> |
6a488035 | 52 | {/if} |
6a488035 TO |
53 | </table> |
54 | ||
0699333e MW |
55 | <div id="customData"></div> |
56 | {*include custom data js file*} | |
57 | {include file="CRM/common/customData.tpl"} | |
58 | {literal} | |
59 | <script type="text/javascript"> | |
60 | CRM.$(function($) { | |
61 | {/literal} | |
62 | CRM.buildCustomData( '{$customDataType}' ); | |
63 | {literal} | |
64 | }); | |
65 | </script> | |
66 | {/literal} | |
67 | ||
6a488035 TO |
68 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> |
69 | </div> |