<form method=post name="arledger" action="[% script %]">
[% L.hidden_tag('id', id) %]
<form method=post name="arledger" action="[% script %]">
[% L.hidden_tag('id', id) %]
[% L.hidden_tag('follow_up_trans_info_1', follow_up_trans_info) %]
[% L.hidden_tag('follow_up_rowcount', 1) %]
[% L.hidden_tag('follow_up_trans_info_1', follow_up_trans_info) %]
[% L.hidden_tag('follow_up_rowcount', 1) %]
[%- END %]
<input type="button" value="[% 'Details (one letter abbreviation)' | $T8 %]" onclick="show_vc_details('customer')"></td>
[% L.hidden_tag('selectcustomer', selectcustomer) %]
[%- END %]
<input type="button" value="[% 'Details (one letter abbreviation)' | $T8 %]" onclick="show_vc_details('customer')"></td>
[% L.hidden_tag('selectcustomer', selectcustomer) %]
- <th align=left nowrap>[% 'Tax Included' | $T8 %]</th>
+ <th align="left" nowrap><label for="taxincluded">[% 'Tax Included' | $T8 %]</label></th>
+ </tr>
+ <tr>
+ <td align="right">[% L.checkbox_tag('direct_debit', checked=direct_debit) %]</td>
+ <th align="left" nowrap><label for="direct_debit">[% 'direct debit' | $T8 %]</label></th>
- <td>[% L.select_tag('globalproject_id', L.options_for_select(ALL_PROJECTS, title='projectnumber', default=globalproject_id, with_empty=1)) %]</td>
+ <td>[% L.select_tag('globalproject_id', ALL_PROJECTS, title_key = 'projectnumber', default = globalproject_id, with_empty = 1) %]</td>
<td>[% L.input_tag('amount_' _ loop.count, LxERP.format_amount(row.amount, 2)) %]</td>
<td>[% L.hidden_tag('tax_' _ loop.count, LxERP.format_tax(row.tax, 2)) %][% LxERP.format_amount(row.tax, 2) | html %]</td>
<td>[% row.taxchart %]</td>
<td>[% L.input_tag('amount_' _ loop.count, LxERP.format_amount(row.amount, 2)) %]</td>
<td>[% L.hidden_tag('tax_' _ loop.count, LxERP.format_tax(row.tax, 2)) %][% LxERP.format_amount(row.tax, 2) | html %]</td>
<td>[% row.taxchart %]</td>
- <td>[% L.select_tag('project_id_' _ loop.count, L.options_for_select(ALL_PROJECTS, title='projectnumber', default=row.project_id, with_empty=1)) %]</td>
+ <td>[% L.select_tag('project_id_' _ loop.count, ALL_PROJECTS, title_key = 'projectnumber', default = row.project_id, with_empty = 1) %]</td>
<tr>
<th align=left width=1%>[% 'Notes' | $T8 %]</th>
<td align=left><textarea name=notes rows="[% rows %]" cols=50 wrap=soft>[% notes | html %]</textarea></td>
<tr>
<th align=left width=1%>[% 'Notes' | $T8 %]</th>
<td align=left><textarea name=notes rows="[% rows %]" cols=50 wrap=soft>[% notes | html %]</textarea></td>
- [% L.select_tag('paid_project_id_' _ loop.count, L.options_for_select(ALL_PROJECTS, title='projectnumber', default=row.paid_project_id, with_empty=1)) %]
+ [% L.select_tag('paid_project_id_' _ loop.count, ALL_PROJECTS, title_key = 'projectnumber', default = row.paid_project_id, with_empty=1) %]
[%- ELSE %]
[% project_labels.${row.paid_project_id} | html %]
<input type=hidden name="paid_project_id_[% loop.count %]" value='[% row.paid_project_id %]'>
[%- ELSE %]
[% project_labels.${row.paid_project_id} | html %]
<input type=hidden name="paid_project_id_[% loop.count %]" value='[% row.paid_project_id %]'>