6 [%- BLOCK customized_report %]
8 <th align=left><input name=reporttype class=radio type=radio value="custom" checked>[% 'Customized Report' | $T8 %]</th>
11 <th colspan=1>[% 'Year' | $T8 %]</th>
12 <td><input name=year size=11 title="[% 'YYYY' | $T8 %]" value="[% year %]" class="initial_focus"></td>
15 <td align=right> <b>[% 'Yearly' | $T8 %]</b> </td>
16 <th align=left>[% 'Quarterly' | $T8 %]</th>
17 <th align=left colspan=3>[% 'Monthly' | $T8 %]</th>
20 <td align=right> <input name=duetyp class=radio type=radio value="13"></td>
21 <td><input name=duetyp class=radio type=radio value="A"> 1. [% 'Quarter' | $T8 %]</td>
22 <td><input name=duetyp class=radio type=radio value="1" checked> [% 'January' | $T8 %]</td>
23 <td><input name=duetyp class=radio type=radio value="5"> [% 'May' | $T8 %]</td>
24 <td><input name=duetyp class=radio type=radio value="9"> [% 'September' | $T8 %]</td>
27 <td align= right> </td>
28 <td><input name=duetyp class=radio type=radio value="B"> 2. [% 'Quarter' | $T8 %]</td>
29 <td><input name=duetyp class=radio type=radio value="2"> [% 'February' | $T8 %]</td>
30 <td><input name=duetyp class=radio type=radio value="6"> [% 'June' | $T8 %]</td>
31 <td><input name=duetyp class=radio type=radio value="10"> [% 'October' | $T8 %]</td>
35 <td><input name=duetyp class=radio type=radio value="C"> 3. [% 'Quarter' | $T8 %]</td>
36 <td><input name=duetyp class=radio type=radio value="3"> [% 'March' | $T8 %]</td>
37 <td><input name=duetyp class=radio type=radio value="7"> [% 'July' | $T8 %]</td>
38 <td><input name=duetyp class=radio type=radio value="11"> [% 'November' | $T8 %]</td>
42 <td><input name=duetyp class=radio type=radio value="D"> 4. [% 'Quarter' | $T8 %]</td>
43 <td><input name=duetyp class=radio type=radio value="4"> [% 'April' | $T8 %]</td>
44 <td><input name=duetyp class=radio type=radio value="8"> [% 'August' | $T8 %]</td>
45 <td><input name=duetyp class=radio type=radio value="12"> [% 'December' | $T8 %]</td>
48 <td colspan=5><hr size=3 noshade></td>
51 <th align=left><input name=reporttype class=radio type=radio value="free">[% 'Free report period' | $T8 %]</th>
52 <td align=left colspan=4>
53 [% 'From' | $T8 %] [% L.date_tag('fromdate', fromdate) %]
54 [% 'Bis' | $T8 %] [% L.date_tag('todate') %]
58 <td colspan=5><hr size=3 noshade></td>
61 [%- BLOCK cash_or_accrual %]
63 <th align=left>[% 'Method' | $T8 %]</th>
65 [% L.radio_button_tag('method', value='accrual', checked=accrual, label=LxERP.t8('Accrual')) %]
66 [% L.radio_button_tag('method', value='cash', checked=cash, label=LxERP.t8('cash')) %]
72 <th align=right nowrap>[% 'Customer' | $T8 %]</th>
73 <td colspan=3>[% L.customer_picker('customer_id') %]</td>
76 [%- BLOCK projectnumber %]
78 <th align=right nowrap>[% 'Project' | $T8 %]</th>
79 <td colspan=3>[% L.select_tag('project_id', ALL_PROJECTS, title_key = 'projectnumber', with_empty = 1) %]</td>
85 <form method=post action='[% script %]'>
87 <input type=hidden name=title value="[% title %]">
90 [%- IF selectdepartment %]
92 <th align="left" nowrap>[% 'Department' | $T8 %]</th>
93 <td colspan=3><select name=department>[% selectdepartment %]</select></td>
98 [% INCLUDE projectnumber %]
99 <input type=hidden name=nextsub value=generate_projects>
101 <th align=right>[% 'as at' | $T8 %]</th>
102 <td> [% L.date_tag('fromdate', fromdate, class='initial_focus') %]</td>
103 <th align=right nowrap>[% 'Compare to' | $T8 %]</th>
104 <td>[% L.date_tag('todate') %]</td>
109 <th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
110 <td><input name=l_heading class=checkbox type=checkbox value=Y> [% 'Heading' | $T8 %]
111 <input name=l_subtotal class=checkbox type=checkbox value=Y> [% 'Subtotal' | $T8 %]</td>
115 [%- IF is_income_statement %]
116 [%- PROCESS projectnumber %]
117 <input type=hidden name=nextsub value=generate_income_statement>
120 [%- PROCESS customized_report %]
121 [%- PROCESS cash_or_accrual %]
123 <th align=left nowrap>[% 'Include in Report' | $T8 %]</th>
124 <td><input name=l_cb class=checkbox type=checkbox value=Y> [% 'CB Transactions' | $T8 %]</td>
129 [%- PROCESS projectnumber %]
130 <input type=hidden name=nextsub value=generate_bwa>
133 [%- PROCESS customized_report %]
134 [%- PROCESS cash_or_accrual %]
136 <th align=right colspan=4>[% 'Decimalplaces' | $T8 %]</th>
137 <td><input name=decimalplaces size=3 value="2"></td>
141 [%- IF is_balance_sheet %]
142 <input type=hidden name=nextsub value=generate_balance_sheet>
144 <th align=right>[% 'as at' | $T8 %]</th>
145 <td> [% L.date_tag('asofdate', asofdate, class="initial_focus") %]</td>
146 <td><input name=l_cb class=checkbox type=checkbox value=Y> [% 'CB Transactions' | $T8 %]</td>
147 <td><input name=l_ob class=checkbox type=checkbox value=Y> [% 'only OB Transactions' | $T8 %]</td>
150 <th align=right nowrap>[% 'Compare to' | $T8 %]</th>
151 <td>[% L.date_tag('compareasofdate', compareasofdate) %]</td>
152 <td><input name=l_cb_compared class=checkbox type=checkbox value=Y> [% 'CB Transactions' | $T8 %]</td>
153 <td><input name=l_ob_compared class=checkbox type=checkbox value=Y> [% 'only OB Transactions' | $T8 %]</td>
156 <th align=right>[% 'Decimalplaces' | $T8 %]</th>
157 <td><input name=decimalplaces size=3 value="2"></td>
161 [%- PROCESS cash_or_accrual %]
163 <th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
164 <td><input name=l_heading class=checkbox type=checkbox value=Y> [% 'Heading' | $T8 %]
165 <input name=l_subtotal class=checkbox type=checkbox value=Y> [% 'Subtotal' | $T8 %]
166 <input name=l_accno class=checkbox type=checkbox value=Y> [% 'Account Number' | $T8 %]</td>
170 [%- IF is_trial_balance %]
171 [%- PROCESS customer %]
172 [%- PROCESS projectnumber %]
173 <input type=hidden name=nextsub value=generate_trial_balance>
176 [%- PROCESS customized_report %]
177 [%- PROCESS cash_or_accrual %]
179 <th align=right colspan=4>[% 'All Accounts' | $T8 %]</th>
180 <td><input name=all_accounts type=checkbox value=1></td>
183 <th align=right colspan=4>[% 'Decimalplaces' | $T8 %]</th>
184 <td><input name=decimalplaces size=3 value="2"></td>
190 <th align=left>[% label %]</th>
196 <td colspan=5><hr size=1 noshade></td>
199 <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>
200 <td align="right" colspan="4">[% 'Review of Aging list' | $T8 %] <select name="review_of_aging_list">
202 <option>0-30</option>
203 <option>30-60</option>
204 <option>60-90</option>
205 <option>90-120</option>
206 <option>> 120</option>
207 </select> [% 'for date' | $T8 %] [% L.date_tag('fordate', today) %]
211 <td colspan=5><hr size=3 noshade></td>
214 <th align=left><input name=reporttype class=radio type=radio value="free"><b>[% 'Free report period' | $T8 %]</b> ([% 'Invoice Date' | $T8 %]) </th>
215 <td align="right" colspan=4>
216 [% 'From' | $T8 %] [% L.date_tag('fromdate', fromdate) %]
217 [% 'Bis' | $T8 %] [% L.date_tag('todate') %]
220 <input type=hidden name=type value=statement>
221 <input type=hidden name=format value=html>
222 <input type=hidden name=media value=screen>
224 <input type=hidden name=nextsub value='[% nextsub %]'>
225 <input type=hidden name=action value='[% nextsub %]'>
228 [%- IF is_payments %]
229 <input type=hidden name=nextsub value=list_payments>
231 <th align=right nowrap>[% 'Account' | $T8 %]</th>
232 <td colspan=3><select name=account>[% selection %]</select>
233 <input type=hidden name=paymentaccounts value="[% paymentaccounts %]">
237 <th align=right>[% 'Reference' | $T8 %]</th>
238 <td colspan=3><input name=reference class="initial_focus"></td>
241 <th align=right nowrap>[% 'Source' | $T8 %]</th>
242 <td colspan=3><input name=source></td>
245 <th align=right nowrap>[% 'Memo' | $T8 %]</th>
246 <td colspan=3><input name=memo size=30></td>
249 <th align=right>[% 'From' | $T8 %]</th>
250 <td>[% L.date_tag('fromdate', fromdate) %]</td>
251 <th align=right>[% 'Bis' | $T8 %]</th>
252 <td>[% L.date_tag('todate') %]</td>
255 <td align=right><input type=checkbox style=checkbox name=fx_transaction value=1 checked></td>
256 <th align=left colspan=3>[% 'Include Exchangerate Difference' | $T8 %]</td>
259 <input type=hidden name=db value='[% db %]'>
260 <input type=hidden name=sort value=transdate>
263 [%- IF 0 # is_taxreport %]
264 <input type=hidden name=nextsub value=generate_tax_report>
266 <th align=right>[% 'From' | $T8 %]</th>
267 <td>[% L.date_tag('fromdate', fromdate) %]</td>
268 <th align=right>[% 'Bis' | $T8 %]</th>
269 <td>[% L.date_tag('todate', todate) %]</td>
272 <th align=right>[% 'Report for' | $T8 %]</th>
274 [% FOREACH row IN taxaccounts %]
275 <input name=accno class=radio type=radio value='[% row.accno %]' [% loop.first ? 'checked' : '' %]> [% row.description %]
276 <input name="[% row.accno %]_description" type=hidden value="[% row.description %]">
277 <input name="[% row.accno %]_rate" type=hidden value="[% row.rate %]">
279 <input type=hidden name=db value='[% db %]'>
280 <input type=hidden name=sort value=transdate>
283 [%- PROCESS cash_or_accrual %]
287 <th align=right>[% 'Include in Report' | $T8 %]</th>
291 <td><input name="l_id" class=checkbox type=checkbox value=Y></td>
292 <td>[% 'ID' | $T8 %]</td>
293 <td><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
294 <td>[% 'Invoice' | $T8 %]</td>
295 <td><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
296 <td>[% 'Date' | $T8 %]</td>
299 <td><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
301 [% LxERP.t8('Customer') IF db == 'ar' %]
302 [% LxERP.t8('Vendor') IF db == 'ap' %]
304 <td><input name="l_netamount" class=checkbox type=checkbox value=Y checked></td>
305 <td>[% 'Amount' | $T8 %]</td>
306 <td><input name="l_tax" class=checkbox type=checkbox value=Y checked></td>
307 <td>[% 'Tax' | $T8 %]</td>
308 <td><input name="l_amount" class=checkbox type=checkbox value=Y></td>
309 <td>[% 'Total' | $T8 %]</td>
312 <td><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
313 <td>[% 'Subtotal' | $T8 %]</td>
323 <input type=submit class=submit name=action value="[% 'Continue' | $T8 %]">