{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* this template is used for adding/editing/deleting financial batch *}
{if $action eq 8}
{icon icon="fa-info-circle"}{/icon} {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"}