Lines 173-178
Link Here
|
173 |
<th>System</th> |
173 |
<th>System</th> |
174 |
<th>Code</th> |
174 |
<th>Code</th> |
175 |
<th>Description</th> |
175 |
<th>Description</th> |
|
|
176 |
[% IF additional_fields.size %] |
177 |
<th>Additional fields</th> |
178 |
[% END %] |
176 |
<th>Default amount</th> |
179 |
<th>Default amount</th> |
177 |
<th>Available for</th> |
180 |
<th>Available for</th> |
178 |
<th>Library limitations</th> |
181 |
<th>Library limitations</th> |
Lines 186-191
Link Here
|
186 |
<td>[% debit_type.is_system | html %]</td> |
189 |
<td>[% debit_type.is_system | html %]</td> |
187 |
<td>[% debit_type.code | html %]</td> |
190 |
<td>[% debit_type.code | html %]</td> |
188 |
<td>[%- PROCESS debit_type_description debit_type = debit_type -%]</td> |
191 |
<td>[%- PROCESS debit_type_description debit_type = debit_type -%]</td> |
|
|
192 |
[% IF additional_fields.size %] |
193 |
<td> |
194 |
[% IF debit_type.additional_field_values.count > 0 %] |
195 |
[% FOREACH additional_field IN debit_type.additional_field_values %] |
196 |
<div><span class="label">[% additional_field.field.name | html %]</span>: [% additional_field.value | html %]</div> |
197 |
[% END %] |
198 |
[% ELSE %] |
199 |
<span>No additional fields</span> |
200 |
[% END %] |
201 |
</td> |
202 |
[% END %] |
189 |
<td>[% debit_type.default_amount | $Price %]</td> |
203 |
<td>[% debit_type.default_amount | $Price %]</td> |
190 |
<td>[% IF debit_type.can_be_invoiced && debit_type.can_be_sold %] |
204 |
<td>[% IF debit_type.can_be_invoiced && debit_type.can_be_sold %] |
191 |
<i class="fa fa-id-card"></i> Invoicing, <i class="fa fa-shopping-cart"></i> Sale |
205 |
<i class="fa fa-id-card"></i> Invoicing, <i class="fa fa-shopping-cart"></i> Sale |
192 |
- |
|
|