commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / templates / CRM / Financial / Form / FinancialBatch.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
12 | |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
25 *}
26 {* this template is used for adding/editing/deleting financial batch *}
27 <div class="crm-block crm-form-block crm-financial_type-form-block">
28 {if $action eq 8}
29 <div class="messages status">
30 <div class="icon inform-icon"></div>
31 {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}
32 </div>
33 {else}
34 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
35
36 <table class="form-layout">
37 <tr class="crm-contribution-form-block-name">
38 <td class="label">{$form.title.label}</td>
39 <td class="html-adjust">{$form.title.html}</td>
40 </tr>
41 <tr class="crm-contribution-form-block-description">
42 <td class="label">{$form.description.label}</td>
43 <td class="html-adjust">{$form.description.html}</td>
44 </tr>
45 {if $action eq 2}
46 <tr class="crm-contribution-form-block-contact">
47 <td class="label">{ts}Created By{/ts}</td>
48 <td class="html-adjust">{$contactName}</td>
49 </tr>
50 <tr class="crm-contribution-form-block-open_date">
51 <td class="label">{ts}Opened Date{/ts}</td>
52 <td class="html-adjust">{$created_date|crmDate}</td>
53 </tr>
54 <tr class="crm-contribution-form-block-modified_date">
55 <td class="label">{ts}Modified Date{/ts}</td>
56 <td class="html-adjust">{$modified_date|crmDate}</td>
57 </tr>
58 <tr class="crm-contribution-form-block-batch_status">
59 <td class="label">{$form.status_id.label}</td>
60 <td class="html-adjust">{$form.status_id.html}</td>
61 </tr>
62 {/if}
63 </table>
64 <fieldset class="crm-collapsible">
65 <legend class="collapsible-title">{ts}Optional Constraints{/ts}</legend>
66 <div>
67 <table class="form-layout">
68 <tr class="crm-contribution-form-block-payment_instrument">
69 <td class="label">{$form.payment_instrument_id.label}</td>
70 <td class="html-adjust">{$form.payment_instrument_id.html} {help id="payment_instrument"}</td>
71 </tr>
72 <tr class="crm-contribution-form-block-item_count">
73 <td class="label">{$form.item_count.label}</td>
74 <td class="html-adjust">{$form.item_count.html|crmAddClass:number} {help id="item_count"}</td>
75 </tr>
76 <tr class="crm-contribution-form-block-total">
77 <td class="label">{$form.total.label}</td>
78 <td class="html-adjust">{$form.total.html|crmAddClass:number} {help id="total"}</td>
79 </tr>
80 </table>
81 </div>
82 </fieldset>
83 {/if}
84 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="botttom"}</div>
85 </div>
86 {include file="CRM/Form/validate.tpl"}