{* +--------------------------------------------------------------------+ | CiviCRM version 4.5 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | 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 financial batch *}

{if $action eq 8} {ts}Delete Batch{/ts} - {$batchTitle} {elseif $action eq 1} {ts}Add New Batch{/ts} {elseif $action eq 2} {ts}Edit Batch{/ts} - {$batchTitle} {/if}

{if $action eq 8}
{ts}WARNING: You cannot delete a financial type if it is currently used by any Contributions, Contribution Pages or Membership Types. Consider disabling this option instead.{/ts} {ts}Deleting a financial type cannot be undone.{/ts} {ts}Do you want to continue?{/ts}
{else}
{include file="CRM/common/formButtons.tpl" location="top"}
{if $action eq 2} {/if}
{$form.title.label} {$form.title.html}
{$form.description.label} {$form.description.html}
{ts}Created By{/ts} {$contactName}
{ts}Opened Date{/ts} {$created_date|crmDate}
{ts}Modified Date{/ts} {$modified_date|crmDate}
{$form.status_id.label} {$form.status_id.html}
{ts}Optional Constraints{/ts}
{$form.payment_instrument_id.label} {$form.payment_instrument_id.html} {help id="payment_instrument"}
{$form.item_count.label} {$form.item_count.html|crmAddClass:number} {help id="item_count"}
{$form.total.label} {$form.total.html|crmAddClass:number} {help id="total"}
{/if}
{include file="CRM/common/formButtons.tpl" location="botttom"}
{include file="CRM/Form/validate.tpl"}