Lines 3-8
Link Here
|
3 |
[% USE Branches %] |
3 |
[% USE Branches %] |
4 |
[% USE Price %] |
4 |
[% USE Price %] |
5 |
[% SET footerjs = 1 %] |
5 |
[% SET footerjs = 1 %] |
|
|
6 |
[% PROCESS 'accounts.inc' %] |
6 |
[% INCLUDE 'doc-head-open.inc' %] |
7 |
[% INCLUDE 'doc-head-open.inc' %] |
7 |
<title> |
8 |
<title> |
8 |
[% IF op =='add_form' %] |
9 |
[% IF op =='add_form' %] |
Lines 95-101
Link Here
|
95 |
</li> |
96 |
</li> |
96 |
<li> |
97 |
<li> |
97 |
<label for="description" class="required">Description: </label> |
98 |
<label for="description" class="required">Description: </label> |
98 |
<input type="text" name="description" id="description" required="required" class="required" size="80" maxlength="100" value="[% debit_type.description | html %]" /> <span class="required">Required</span> |
99 |
[% IF debit_type && debit_type.is_system %] |
|
|
100 |
<span>[%- PROCESS debit_type_description debit_type = debit_type -%]</span> |
101 |
[% ELSE %] |
102 |
<input type="text" name="description" id="description" required="required" class="required" size="80" maxlength="100" value="[% debit_type.description | html %]" /> <span class="required">Required</span> |
103 |
[% END %] |
99 |
</li> |
104 |
</li> |
100 |
<li> |
105 |
<li> |
101 |
<label for="can_be_invoiced">Can be manually invoiced? </label> |
106 |
<label for="can_be_invoiced">Can be manually invoiced? </label> |
Lines 162-168
Link Here
|
162 |
<td>[% debit_type.archived | html %]</td> |
167 |
<td>[% debit_type.archived | html %]</td> |
163 |
<td>[% debit_type.is_system | html %]</td> |
168 |
<td>[% debit_type.is_system | html %]</td> |
164 |
<td>[% debit_type.code | html %]</td> |
169 |
<td>[% debit_type.code | html %]</td> |
165 |
<td>[% debit_type.description | html %]</td> |
170 |
<td>[%- PROCESS debit_type_description debit_type = debit_type -%]</td> |
166 |
<td>[% debit_type.default_amount | $Price %]</td> |
171 |
<td>[% debit_type.default_amount | $Price %]</td> |
167 |
<td>[% IF debit_type.can_be_invoiced && debit_type.can_be_sold %] |
172 |
<td>[% IF debit_type.can_be_invoiced && debit_type.can_be_sold %] |
168 |
<i class="fa fa-id-card-o"></i> Invoicing, <i class="fa fa-shopping-cart"></i> Sale |
173 |
<i class="fa fa-id-card-o"></i> Invoicing, <i class="fa fa-shopping-cart"></i> Sale |
169 |
- |
|
|