Merge pull request #21483 from jmcclelland/leaky-honoree-variable
[civicrm-core.git] / templates / CRM / Financial / Form / FinancialAccount.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
1188c7a8 3 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 4 | |
1188c7a8
TO
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
6a488035
TO
8 +--------------------------------------------------------------------+
9*}
10{* this template is used for adding/editing/deleting financial type *}
6a488035
TO
11<div class="crm-block crm-form-block crm-contribution_type-form-block crm-financial_type-form-block">
12{if $action eq 8}
13 <div class="messages status no-popup">
34d6cec4 14 {icon icon="fa-info-circle"}{/icon}
6a488035
TO
15 {ts}WARNING: You cannot delete a {$delName} Financial Account if it is currently used by any Financial Types. Consider disabling this option instead.{/ts} {ts}Deleting a financial type cannot be undone.{/ts} {ts}Do you want to continue?{/ts}
16 </div>
17{else}
18 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
19 <table class="form-layout-compressed">
20 <tr class="crm-contribution-form-block-name">
21 <td class="label">{$form.name.label}</td>
22 <td class="html-adjust">{$form.name.html}</td>
23 </tr>
24 <tr class="crm-contribution-form-block-description">
25 <td class="label">{$form.description.label}</td>
26 <td class="html-adjust">{$form.description.html}</td>
27 </tr>
28 <tr class="crm-contribution-form-block-organisation_name">
dee13226 29 <td class="label">{$form.contact_id.label}&nbsp;{help id="id-financial-owner" file="CRM/Financial/Form/FinancialAccount.hlp"}</td>
253baf65 30 <td class="html-adjust">{$form.contact_id.html}<br />
6a488035
TO
31 <span class="description">{ts}Use this field to indicate the organization that owns this account.{/ts}</span>
32 </td>
33 </tr>
34 <tr class="crm-contribution-form-block-financial_account_type_id">
35 <td class="label">{$form.financial_account_type_id.label}</td>
ce22fda6 36 <td class="html-adjust">{$form.financial_account_type_id.html}</td>
6a488035
TO
37 </tr>
38 <tr class="crm-contribution-form-block-accounting_code">
39 <td class="label">{$form.accounting_code.label}</td>
40 <td class="html-adjust">{$form.accounting_code.html}<br />
41 <span class="description">{ts}Enter the corresponding account code used in your accounting system. This code will be available for contribution export, and included in accounting batch exports.{/ts}</span>
42 </td>
43 </tr>
44 <tr class="crm-contribution-form-block-account_type_code">
dee13226 45 <td class="label">{$form.account_type_code.label}&nbsp;{help id="id-account-type-code" file="CRM/Financial/Form/FinancialAccount.hlp"}</td>
6a488035
TO
46 <td class="html-adjust">{$form.account_type_code.html}<br />
47 <span class="description">{ts}Enter an account type code for this account. Account type codes are required for QuickBooks integration and will be included in all accounting batch exports.{/ts}</span>
48 </td>
49 </tr>
50 <tr class="crm-contribution-form-block-is_deductible">
51 <td class="label">{$form.is_deductible.label}</td>
52 <td class="html-adjust">{$form.is_deductible.html}<br />
53 <span class="description">{ts}Are monies received into this account tax-deductible?{/ts}</span>
54 </td>
55 </tr>
56 <tr class="crm-contribution-form-block-is_active">
57 <td class="label">{$form.is_active.label}</td>
58 <td class="html-adjust">{$form.is_active.html}</td>
59 </tr>
60 <tr class="crm-contribution-form-block-is_tax">
61 <td class="label">{$form.is_tax.label}</td>
62 <td class="html-adjust">{$form.is_tax.html}<br />
5ebee375 63 <span class="description">{ts}Does this account hold taxes collected?{/ts}</span>
6a488035
TO
64 </td>
65 </tr>
66 <tr class="crm-contribution-form-block-tax_rate">
67 <td class="label">{$form.tax_rate.label}</td>
68 <td class="html-adjust">{$form.tax_rate.html}<br />
5ebee375 69 <span class="description">{ts}The default rate used to calculate the taxes collected into this account (e.g. for tax rate of 8.27%, enter 8.27).{/ts}</span>
6a488035
TO
70 </td>
71 </tr>
72 <tr class="crm-contribution-form-block-is_default">
73 <td class="label">{$form.is_default.label}</td>
74 <td class="html-adjust">{$form.is_default.html}<br />
75 <span class="description">{ts}Is this account to be used as the default account for its financial account type when associating financial accounts with financial types?{/ts}</span>
76 </td>
77 </tr>
78 </table>
79{/if}
80 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="botttom"}</div>
81</div>