<tr>
<th align=left>[% 'Method' | $T8 %]</th>
<td colspan=3>
- [% L.radio_button_tag('method', value='accrual', checked=accrual, label=LxERP.t8('Accrual')) %]
- [% L.radio_button_tag('method', value='cash', checked=cash, label=LxERP.t8('cash')) %]
+ [% L.radio_button_tag('method', value='accrual', checked=(INSTANCE_CONF.get_accounting_method=='accrual'), label=LxERP.t8('Accrual')) %]
+ [% L.radio_button_tag('method', value='cash', checked=(INSTANCE_CONF.get_accounting_method=='cash'), label=LxERP.t8('cash')) %]
</td>
</tr>
[%- END %]
+[%- BLOCK customer %]
+ <tr>
+ <th align=right nowrap>[% 'Customer' | $T8 %]</th>
+ <td colspan=3>[% L.customer_vendor_picker('customer_id', '', type='customer') %]</td>
+ </tr>
+[%- END %]
[%- BLOCK projectnumber %]
<tr>
<th align=right nowrap>[% 'Project' | $T8 %]</th>
[% INCLUDE projectnumber %]
<input type=hidden name=nextsub value=generate_projects>
<tr>
- <th align=right>[% 'as at' | $T8 %]</th>
+ <th align=right>[% 'From' | $T8 %]</th>
<td> [% L.date_tag('fromdate', fromdate, class='initial_focus') %]</td>
- <th align=right nowrap>[% 'Compare to' | $T8 %]</th>
+ <th align=right nowrap>[% 'Bis' | $T8 %]</th>
<td>[% L.date_tag('todate') %]</td>
</tr>
</table>
[%- END %]
[%- IF is_trial_balance %]
+[%- PROCESS customer %]
[%- PROCESS projectnumber %]
<input type=hidden name=nextsub value=generate_trial_balance>
</table>