{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {if $action eq 1 or $action eq 2 or $action eq 8} {include file="CRM/Financial/Form/FinancialType.tpl"} {else}
{capture assign="premiumLink"}{crmURL p="civicrm/admin/contribute/managePremiums" q="reset=1"}{/capture}

{ts 1=$premiumLink}Financial types are used to categorize contributions for reporting and accounting purposes. You may set up as many as needed, including commonly used types such as Donation, Campaign Contribution or Membership Dues. Additionally, financial types can account for the inventory and expense of premiums.{/ts}

{capture assign="acctLink"}{crmURL p="civicrm/admin/financial/financialAccount" q="reset=1&action=browse"}{/capture}

{ts 1=$acctLink}Each financial type relates to a number of financial accounts to track income, accounts receivable, and fees.

{/ts}
{if $rows}

{strip} {* handle enable/disable actions*} {include file="CRM/common/enableDisableApi.tpl"} {include file="CRM/common/jsortable.tpl"} {foreach from=$rows item=row} {/foreach}
{ts}Name{/ts} {ts}Description{/ts} {ts}Financial Accounts{/ts} {ts}Deductible?{/ts} {ts}Reserved?{/ts} {ts}Enabled?{/ts}
{$row.name} {$row.description} {$row.financial_account} {if $row.is_deductible eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {if $row.is_reserved eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {$row.action|replace:'xx':$row.id}
{/strip}
{else}
{ts}None found.{/ts}
{/if} {if $action ne 1 and $action ne 2} {/if}
{/if}