</tr>
<tr>
<th colspan=1>[% 'Year' | $T8 %]</th>
- <td><input name=year size=11 title="[% 'YYYY' | $T8 %]" value="[% year %]"></td>
+ <td><input name=year size=11 title="[% 'YYYY' | $T8 %]" value="[% year %]" class="initial_focus"></td>
</tr>
<tr>
<td align=right> <b>[% 'Yearly' | $T8 %]</b> </td>
<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('EUR')) %]
+ [% L.radio_button_tag('method', value='cash', checked=cash, label=LxERP.t8('cash')) %]
</td>
</tr>
[%- END %]
</tr>
[%- END %]
-<body onLoad="[% onload %]">
<h1>[% title %]</h1>
<form method=post action='[% script %]'>
<table border="0">
[%- IF selectdepartment %]
<tr>
- <th align=right nowrap>[% 'Department' | $T8 %]</th>
+ <th align="left" nowrap>[% 'Department' | $T8 %]</th>
<td colspan=3><select name=department>[% selectdepartment %]</select></td>
</tr>
[%- END %]
[%- IF is_projects %]
- <tr>
- <th align=right nowrap>[% 'Project' | $T8 %]</th>
- <td colspan=5><input name=projectnumber size=25</td>
- </tr>
+ [% INCLUDE projectnumber %]
<input type=hidden name=nextsub value=generate_projects>
<tr>
<th align=right>[% 'as at' | $T8 %]</th>
- <td> [% L.date_tag('fromdate', fromdate) %]</td>
+ <td> [% L.date_tag('fromdate', fromdate, class='initial_focus') %]</td>
<th align=right nowrap>[% 'Compare to' | $T8 %]</th>
<td>[% L.date_tag('todate') %]</td>
</tr>
<input type=hidden name=nextsub value=generate_balance_sheet>
<tr>
<th align=right>[% 'as at' | $T8 %]</th>
- <td> [% L.date_tag('asofdate', asofdate) %]</td>
+ <td> [% L.date_tag('asofdate', asofdate, class="initial_focus") %]</td>
+ <td><input name=l_cb class=checkbox type=checkbox value=Y> [% 'CB Transactions' | $T8 %]</td>
+ <td><input name=l_ob class=checkbox type=checkbox value=Y> [% 'only OB Transactions' | $T8 %]</td>
+ </tr>
+ </tr>
<th align=right nowrap>[% 'Compare to' | $T8 %]</th>
<td>[% L.date_tag('compareasofdate', compareasofdate) %]</td>
+ <td><input name=l_cb_compared class=checkbox type=checkbox value=Y> [% 'CB Transactions' | $T8 %]</td>
+ <td><input name=l_ob_compared class=checkbox type=checkbox value=Y> [% 'only OB Transactions' | $T8 %]</td>
</tr>
<tr>
<th align=right>[% 'Decimalplaces' | $T8 %]</th>
<input name=l_subtotal class=checkbox type=checkbox value=Y> [% 'Subtotal' | $T8 %]
<input name=l_accno class=checkbox type=checkbox value=Y> [% 'Account Number' | $T8 %]</td>
</tr>
- <tr>
- <th></th>
- <td><input name=l_cb class=checkbox type=checkbox value=Y> [% 'CB Transactions' | $T8 %]
- <input name=l_ob class=checkbox type=checkbox value=Y> [% 'only OB Transactions' | $T8 %]</td>
- </tr>
[%- END %]
[%- IF is_trial_balance %]
[%- IF is_aging %]
<tr>
- <th align=right>[% label %]</th>
+ <th align=left>[% label %]</th>
<td>[% vc %]</td>
</tr>
+</table>
+<table border="0">
+ <tr>
+ <td colspan=5><hr size=1 noshade></td>
+ </tr>
<tr>
- <td>[% 'Review of Aging list' | $T8 %]</td>
- <td><select name="review_of_aging_list">
+ <th align=left><input name=reporttype class=radio type=radio value="custom" checked><b>[% 'Reference day' | $T8 %]</b> ([% 'Due Date' | $T8 %][% ', if set' | $T8 %])</b> </th>
+ <td align="right" colspan="4">[% 'Review of Aging list' | $T8 %] <select name="review_of_aging_list">
<option></option>
<option>0-30</option>
<option>30-60</option>
<option>60-90</option>
<option>90-120</option>
<option>> 120</option>
- </select>
+ </select> [% 'for date' | $T8 %] [% L.date_tag('fordate', today) %]
</td>
</tr>
<tr>
- <td align=left colspan=4>
+ <td colspan=5><hr size=3 noshade></td>
+ </tr>
+ <tr>
+ <th align=left><input name=reporttype class=radio type=radio value="free"><b>[% 'Free report period' | $T8 %]</b> ([% 'Invoice Date' | $T8 %]) </th>
+ <td align="right" colspan=4>
[% 'From' | $T8 %] [% L.date_tag('fromdate', fromdate) %]
[% 'Bis' | $T8 %] [% L.date_tag('todate') %]
</td>
</tr>
<tr>
<th align=right>[% 'Reference' | $T8 %]</th>
- <td colspan=3><input name=reference></td>
+ <td colspan=3><input name=reference class="initial_focus"></td>
</tr>
<tr>
<th align=right nowrap>[% 'Source' | $T8 %]</th>
</td>
</tr>
[%- END %]
-
-[%- IF 0 # is_nontaxable %]
- <input type=hidden name=nextsub value=generate_tax_report>
-
- <input type=hidden name=db value=[% db %]>
- <input type=hidden name=sort value=transdate>
- <input type=hidden name=report value='[% report %]'>
-
- <tr>
- <th align=right>[% 'From' | $T8 %]</th>
- <td>[% L.date_tag('fromdate', fromdate) %]</td>
- <th align=right>[% 'Bis' | $T8 %]</th>
- <td>[% L.date_tag('todate', todate) %]</td>
- </tr>
-[%- PROCESS cash_or_accrual %]
- <tr>
- <th align=right>[% 'Include in Report' | $T8 %]</th>
- <td colspan=3>
- <table>
- <tr>
- <td><input name="l_id" class=checkbox type=checkbox value=Y></td>
- <td>[% 'ID' | $T8 %]</td>
- <td><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
- <td>[% 'Invoice' | $T8 %]</td>
- <td><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
- <td>[% 'Date' | $T8 %]</td>
- </tr>
- <tr>
- <td><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
- <td>
- [% LxERP.t8('Customer') IF db == 'ar' %]
- [% LxERP.t8('Vendor') IF db == 'ap' %]
- </td>
- <td><input name="l_netamount" class=checkbox type=checkbox value=Y checked></td>
- <td>[% 'Amount' | $T8 %]</td>
- <td><input name="l_amount" class=checkbox type=checkbox value=Y></td>
- <td>[% 'Total' | $T8 %]</td>
- </tr>
- <tr>
- <td><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
- <td>[% 'Subtotal' | $T8 %]</td>
- </tr>
- </table>
- </td>
- </tr>
-[%- END %]
</table>
<hr size=3 noshade>
<input type=submit class=submit name=action value="[% 'Continue' | $T8 %]">
</form>
-
-</body>