{* +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* this template is used for adding/editing/deleting pledge *} {if $showAdditionalInfo and $formType } {include file="CRM/Contribute/Form/AdditionalInfo/$formType.tpl"} {else} {if !$email and $action neq 8 and $context neq 'standalone'}
{/if} {if $action EQ 2} {* Check if current Total Pledge Amount is different from original pledge amount. *} {math equation="x / y" x=$amount y=$installments format="%.2f" assign="currentInstallment"} {* Check if current Total Pledge Amount is different from original pledge amount. *} {if $currentInstallment NEQ $eachPaymentAmount} {assign var=originalPledgeAmount value=`$installments*$eachPaymentAmount`} {/if} {/if}{$form.contact_id.label} | {$form.contact_id.html} |
{ts}Pledge by{/ts} | {$displayName} |
{$form.amount.label} | {$form.currency.html|crmAddClass:eight} {$form.amount.html|crmAddClass:eight} {if $originalPledgeAmount} {/if} |
{$form.installments.label} | {$form.installments.html} {ts}installments of{/ts} {if $action eq 1 or $isPending} {$form.eachPaymentAmount.html|crmMoney:$currency} {elseif $action eq 2 and !$isPending} {$eachPaymentAmount|crmMoney:$currency} {/if} {ts}every{/ts} {$form.frequency_interval.html} {$form.frequency_unit.html} |
{$form.frequency_day.label} | {$form.frequency_day.html} {ts}day of the period{/ts} {ts}This applies to weekly, monthly and yearly payments.{/ts} |
{$form.create_date.label} |
{$form.create_date.html} {ts}Date when pledge was made by the contributor.{/ts} |
{$form.start_date.label} |
{$form.start_date.html} {ts}Date of first pledge payment.{/ts} |
{$form.is_acknowledge.label} | {$form.is_acknowledge.html} {ts 1=$email}Automatically email an acknowledgment of this pledge to %1?{/ts} |
{$form.acknowledge_date.label} |
{$form.acknowledge_date.html} {ts}Date when an acknowledgment of the pledge was sent.{/ts} |
{$form.financial_type_id.label} | {$form.financial_type_id.html} {ts}Sets the default financial type for payments against this pledge.{/ts} |
{$form.contribution_page_id.label} | {$form.contribution_page_id.html} {ts}Select an Online Contribution page that the user can access to make self-service pledge payments. (Only Online Contribution pages configured to include the Pledge option are listed.){/ts} |
{$status} {ts}Pledges are "Pending" until the first payment is received. Once a payment is received, status is "In Progress" until all scheduled payments are completed. Overdue pledges are ones with payment(s) past due.{/ts} |
|
{include file="CRM/Custom/Form/CustomData.tpl"} |