2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.7 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
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. |
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. |
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 +--------------------------------------------------------------------+
26 {* this template is used for updating pledge payment*}
27 <div class="crm-block crm-form-block crm-pledge-payment-form-block">
28 <table class="form-layout-compressed">
30 <td class="label">{ts}Status{/ts}</td>
31 <td class="form-layout">{$status}</td>
34 <td class="label">{$form.scheduled_date.label}</td>
35 <td>{include file="CRM/common/jcalendar.tpl" elementName=scheduled_date}</td>
38 <td class="label">{$form.scheduled_amount.label}</td>
39 <td class="form-layout">
40 {$form.currency.html} {$form.scheduled_amount.html}
42 <a href="#" class="crm-hover-button action-item adjust-pledge-payment">
43 {ts}Adjust scheduled amount{/ts}
45 {help id="adjust-payment-amount"}
49 <tr id="adjust-option-type" class="crm-contribution-form-block-option_type">
50 <td class="label"></td> <td>{$form.option_type.html}</td>
53 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
57 <script type="text/javascript">
59 $('#adjust-option-type').hide();
61 $('a.adjust-pledge-payment').click(function(e) {
64 $('#adjust-option-type').show();
65 $("#scheduled_amount").prop("readonly", false);