{* +--------------------------------------------------------------------+ | CiviCRM version 4.4 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2013 | +--------------------------------------------------------------------+ | 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 grant *} {if $cdType} {include file="CRM/Custom/Form/CustomData.tpl"} {else} {if $action eq 1 and $context ne 'standalone'}

{ts}New Grant{/ts}

{elseif $action eq 2}

{ts}Edit Grant{/ts}

{elseif $action eq 8}

{ts}Delete Grant{/ts}

{/if}
{if $action eq 8}

  {ts}Are you sure you want to delete this Grant?{/ts} {ts}This operation cannot be undone.{/ts}

{include file="CRM/Grant/Form/Task.tpl"}

{else}
{include file="CRM/common/formButtons.tpl" location="top"}
{if $context eq 'standalone'} {/if}
{$form.contact_id.label} {$form.contact_id.html}
{$form.status_id.label} {$form.status_id.html}
{$form.grant_type_id.label} {$form.grant_type_id.html}
{$form.amount_total.label} {$form.amount_total.html}
{$form.amount_requested.label} {$form.amount_requested.html}
{ts}Amount requested for grant in original currency (if different).{/ts}
{$form.amount_granted.label} {$form.amount_granted.html}
{$form.application_received_date.label} {if $hideCalendar neq true} {include file="CRM/common/jcalendar.tpl" elementName=application_received_date} {else} {$form.application_received_date.html|crmDate} {/if}
{$form.decision_date.label} {if $hideCalendar neq true} {include file="CRM/common/jcalendar.tpl" elementName=decision_date} {else} {$form.decision_date.html|crmDate} {/if}
{ts}Date on which the grant decision was finalized.{/ts}
{$form.money_transfer_date.label} {if $hideCalendar neq true} {include file="CRM/common/jcalendar.tpl" elementName=money_transfer_date} {else} {$form.money_transfer_date.html|crmDate} {/if}
{ts}Date on which the grant money was transferred.{/ts}
{$form.grant_due_date.label} {if $hideCalendar neq true} {include file="CRM/common/jcalendar.tpl" elementName=grant_due_date} {else} {$form.grant_due_date.html|crmDate} {/if}
{$form.grant_report_received.label} {$form.grant_report_received.html}
{$form.rationale.label} {$form.rationale.html}
{$form.note.label} {$form.note.html}
{*include custom data js file*} {include file="CRM/common/customData.tpl"} {literal} {/literal}
{include file="CRM/Form/attachment.tpl"}
{/if}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{/if} {* closing of main custom data if *}