Revision 229414ed
Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt
templates/webpages/rp/report.html | ||
---|---|---|
1 |
[%- USE HTML %]
|
|
2 |
[%- USE LxERP %]
|
|
3 |
[%- USE L %]
|
|
4 |
[%- USE P %]
|
|
5 |
[%- USE T8 %]
|
|
1 |
[% USE HTML %] |
|
2 |
[% USE LxERP %] |
|
3 |
[% USE L %] |
|
4 |
[% USE P %] |
|
5 |
[% USE T8 %] |
|
6 | 6 |
|
7 |
[%- BLOCK customized_report %]
|
|
7 |
[% BLOCK customized_report %] |
|
8 | 8 |
<tr> |
9 |
<th align=left><input name=reporttype class=radio type=radio value="custom" checked>[% 'Customized Report' | $T8 %]</th>
|
|
9 |
<th class="caption" colspan="4">[% 'Periods' | $T8 %]</th>
|
|
10 | 10 |
</tr> |
11 | 11 |
<tr> |
12 |
<th colspan=1>[% 'Year' | $T8 %]</th> |
|
13 |
<td> |
|
14 |
<input name=year size=11 title="[% 'YYYY' | $T8 %]" value="[% year %]" class="initial_focus" oninput='set_from_to(duetyp.value, this.value)'> |
|
15 |
</td> |
|
16 |
</tr> |
|
17 |
<tr> |
|
18 |
<td align=right> <b>[% 'Yearly' | $T8 %]</b> </td> |
|
19 |
<th align=left>[% 'Quarterly' | $T8 %]</th> |
|
20 |
<th align=left colspan=3>[% 'Monthly' | $T8 %]</th> |
|
21 |
</tr> |
|
22 |
<tr> |
|
23 |
<td align=right> |
|
24 |
<input name=duetyp class=radio type=radio value="13" checked onchange='set_from_to(this.value, year.value)'> |
|
25 |
</td> |
|
26 |
<td><input name=duetyp class=radio type=radio value="A" onchange='set_from_to(this.value, year.value)'> |
|
27 |
1. [% 'Quarter' | $T8 %] |
|
28 |
</td> |
|
29 |
<td><input name=duetyp class=radio type=radio value="1" onchange='set_from_to(this.value, year.value)'> |
|
30 |
[% 'January' | $T8 %] |
|
31 |
</td> |
|
32 |
<td><input name=duetyp class=radio type=radio value="5" onchange='set_from_to(this.value, year.value)'> |
|
33 |
[% 'May' | $T8 %] |
|
34 |
</td> |
|
35 |
<td><input name=duetyp class=radio type=radio value="9" onchange='set_from_to(this.value, year.value)'> |
|
36 |
[% 'September' | $T8 %] |
|
37 |
</td> |
|
12 |
<th colspan="4"><h4><input name="reporttype" type="radio" value="custom" checked> [% 'Customized Report' | $T8 %]</h4></th> |
|
38 | 13 |
</tr> |
39 | 14 |
<tr> |
40 |
<td align= right> </td> |
|
41 |
<td><input name=duetyp class=radio type=radio value="B" onchange='set_from_to(this.value, year.value)'> |
|
42 |
2. [% 'Quarter' | $T8 %] |
|
43 |
</td> |
|
44 |
<td><input name=duetyp class=radio type=radio value="2" onchange='set_from_to(this.value, year.value)'> |
|
45 |
[% 'February' | $T8 %] |
|
46 |
</td> |
|
47 |
<td><input name=duetyp class=radio type=radio value="6" onchange='set_from_to(this.value, year.value)'> |
|
48 |
[% 'June' | $T8 %] |
|
49 |
</td> |
|
50 |
<td><input name=duetyp class=radio type=radio value="10" onchange='set_from_to(this.value, year.value)'> |
|
51 |
[% 'October' | $T8 %] |
|
52 |
</td> |
|
15 |
<th></th> |
|
16 |
<th>[% 'Year' | $T8 %]</th> |
|
17 |
<td colspan="2"><input type="text" name="year" class="wi-smallest" title="[% 'YYYY' | $T8 %]" value="[% year %]" class="initial_focus" oninput='set_from_to(duetyp.value, this.value)'></td> |
|
53 | 18 |
</tr> |
54 | 19 |
<tr> |
55 |
<td> </td> |
|
56 |
<td><input name=duetyp class=radio type=radio value="C" onchange='set_from_to(this.value, year.value)'> |
|
57 |
3. [% 'Quarter' | $T8 %] |
|
58 |
</td> |
|
59 |
<td><input name=duetyp class=radio type=radio value="3" onchange='set_from_to(this.value, year.value)'> |
|
60 |
[% 'March' | $T8 %] |
|
61 |
</td> |
|
62 |
<td><input name=duetyp class=radio type=radio value="7" onchange='set_from_to(this.value, year.value)'> |
|
63 |
[% 'July' | $T8 %] |
|
64 |
</td> |
|
65 |
<td><input name=duetyp class=radio type=radio value="11" onchange='set_from_to(this.value, year.value)'> |
|
66 |
[% 'November' | $T8 %] |
|
67 |
</td> |
|
20 |
<th></th> |
|
21 |
<th>[% 'Yearly' | $T8 %]</th> |
|
22 |
<th>[% 'Quarterly' | $T8 %]</th> |
|
23 |
<th>[% 'Monthly' | $T8 %]</th> |
|
68 | 24 |
</tr> |
69 | 25 |
<tr> |
70 |
<td> </td> |
|
71 |
<td><input name=duetyp class=radio type=radio value="D" onchange='set_from_to(this.value, year.value)'> |
|
72 |
4. [% 'Quarter' | $T8 %] |
|
73 |
</td> |
|
74 |
<td><input name=duetyp class=radio type=radio value="4" onchange='set_from_to(this.value, year.value)'> |
|
75 |
[% 'April' | $T8 %] |
|
76 |
</td> |
|
77 |
<td><input name=duetyp class=radio type=radio value="8" onchange='set_from_to(this.value, year.value)'> |
|
78 |
[% 'August' | $T8 %] |
|
26 |
<th></th> |
|
27 |
<td><input name="duetyp" type="radio" value="13" checked onchange='set_from_to(this.value, year.value)'>[% 'Yearly' | $T8 %]</td> |
|
28 |
<td> |
|
29 |
<input name="duetyp" type="radio" value="A" onchange='set_from_to(this.value, year.value)'>[% 'Quarter' | $T8 %]<br> |
|
30 |
<input name="duetyp" type="radio" value="B" onchange='set_from_to(this.value, year.value)'>2. [% 'Quarter' | $T8 %]<br> |
|
31 |
<input name="duetyp" type="radio" value="C" onchange='set_from_to(this.value, year.value)'>3. [% 'Quarter' | $T8 %]<br> |
|
32 |
<input name="duetyp" type="radio" value="D" onchange='set_from_to(this.value, year.value)'>4. [% 'Quarter' | $T8 %]<br> |
|
79 | 33 |
</td> |
80 |
<td><input name=duetyp class=radio type=radio value="12" onchange='set_from_to(this.value, year.value)'> |
|
81 |
[% 'December' | $T8 %] |
|
34 |
<td> |
|
35 |
<input name="duetyp" type="radio" value="1" onchange='set_from_to(this.value, year.value)'>[% 'January' | $T8 %]<br> |
|
36 |
<input name="duetyp" type="radio" value="2" onchange='set_from_to(this.value, year.value)'>[% 'February' | $T8 %]<br> |
|
37 |
<input name="duetyp" type="radio" value="3" onchange='set_from_to(this.value, year.value)'>[% 'March' | $T8 %]<br> |
|
38 |
<input name="duetyp" type="radio" value="4" onchange='set_from_to(this.value, year.value)'>[% 'April' | $T8 %]<br> |
|
39 |
<input name="duetyp" type="radio" value="5" onchange='set_from_to(this.value, year.value)'>[% 'May' | $T8 %]<br> |
|
40 |
<input name="duetyp" type="radio" value="6" onchange='set_from_to(this.value, year.value)'>[% 'June' | $T8 %]<br> |
|
41 |
<input name="duetyp" type="radio" value="7" onchange='set_from_to(this.value, year.value)'>[% 'July' | $T8 %]<br> |
|
42 |
<input name="duetyp" type="radio" value="8" onchange='set_from_to(this.value, year.value)'>[% 'August' | $T8 %]<br> |
|
43 |
<input name="duetyp" type="radio" value="9" onchange='set_from_to(this.value, year.value)'>[% 'September' | $T8 %]<br> |
|
44 |
<input name="duetyp" type="radio" value="10" onchange='set_from_to(this.value, year.value)'>[% 'October' | $T8 %]<br> |
|
45 |
<input name="duetyp" type="radio" value="11" onchange='set_from_to(this.value, year.value)'>[% 'November' | $T8 %]<br> |
|
46 |
<input name="duetyp" type="radio" value="12" onchange='set_from_to(this.value, year.value)'>[% 'December' | $T8 %]<br> |
|
82 | 47 |
</td> |
83 | 48 |
</tr> |
84 | 49 |
<tr> |
85 |
<td colspan=5><hr size=3 noshade></td>
|
|
50 |
<th colspan="4"><h4><input name="reporttype" type="radio" value="free"> [% 'Free report period' | $T8 %]</h4></th>
|
|
86 | 51 |
</tr> |
87 | 52 |
<tr> |
88 |
<th align=left><input name=reporttype class=radio type=radio value="free">[% 'Free report period' | $T8 %]</th>
|
|
89 |
<td align=left colspan=4>
|
|
53 |
<th></th>
|
|
54 |
<td colspan="3">
|
|
90 | 55 |
[% 'From' | $T8 %] [% L.date_tag('fromdate', fromdate) %] |
91 | 56 |
[% 'Bis' | $T8 %] [% L.date_tag('todate', todate) %] |
92 | 57 |
</td> |
93 | 58 |
</tr> |
59 |
[% END #BLOCK customized_report %] |
|
60 |
[% BLOCK cash_or_accrual %] |
|
94 | 61 |
<tr> |
95 |
<td colspan=5><hr size=3 noshade></td> |
|
96 |
</tr> |
|
97 |
[%- END %] |
|
98 |
[%- BLOCK cash_or_accrual %] |
|
99 |
<tr> |
|
100 |
<th align=left>[% 'Method' | $T8 %]</th> |
|
101 |
<td colspan=3> |
|
102 |
[% L.radio_button_tag('method', value='accrual', checked=(INSTANCE_CONF.get_accounting_method=='accrual'), label=LxERP.t8('Accrual')) %] |
|
62 |
<th colspan="2">[% 'Method' | $T8 %]</th> |
|
63 |
<td colspan="2"> |
|
64 |
[% L.radio_button_tag('method', value='accrual', checked=(INSTANCE_CONF.get_accounting_method=='accrual'), label=LxERP.t8('Accrual')) %]<br> |
|
103 | 65 |
[% L.radio_button_tag('method', value='cash', checked=(INSTANCE_CONF.get_accounting_method=='cash'), label=LxERP.t8('cash')) %] |
104 | 66 |
</td> |
105 | 67 |
</tr> |
106 |
[%- END %]
|
|
107 |
[%- BLOCK customer %]
|
|
68 |
[% END #BLOCK cash_or_accrual %]
|
|
69 |
[% BLOCK customer %] |
|
108 | 70 |
<tr> |
109 |
<th align=right nowrap>[% 'Customer' | $T8 %]</th>
|
|
110 |
<td colspan=3>[% P.customer_vendor.picker('customer_id', '', type='customer') %]</td>
|
|
71 |
<th colspan="2">[% 'Customer' | $T8 %]</th>
|
|
72 |
<td colspan="2" class="wi-lightwide">[% P.customer_vendor.picker('customer_id', '', type='customer') %]</td>
|
|
111 | 73 |
</tr> |
112 |
[%- END %]
|
|
113 |
[%- BLOCK projectnumber %]
|
|
74 |
[% END #BLOCK customer %]
|
|
75 |
[% BLOCK projectnumber %] |
|
114 | 76 |
<tr> |
115 |
<th align=right nowrap>[% 'Project' | $T8 %]</th>
|
|
116 |
<td colspan=3>[% P.project.picker('project_id', '') %]</td>
|
|
77 |
<th colspan="2">[% 'Project' | $T8 %]</th>
|
|
78 |
<td colspan="2">[% P.project.picker('project_id', '', class='wi-lightwide') %]</td>
|
|
117 | 79 |
</tr> |
118 |
[%- END %] |
|
119 |
|
|
120 |
<h1>[% title %]</h1> |
|
80 |
[% END #BLOCK projectnumber %] |
|
121 | 81 |
|
122 |
<form method='post' action='[% script %]' id='form'> |
|
123 | 82 |
|
124 |
<input type=hidden name=title value="[% title %]"> |
|
125 |
|
|
126 |
<table border="0"> |
|
127 |
[%- IF selectdepartment %] |
|
128 |
<tr> |
|
129 |
<th align="left" nowrap>[% 'Department' | $T8 %]</th> |
|
130 |
<td colspan=3><select name=department>[% selectdepartment %]</select></td> |
|
131 |
</tr> |
|
132 |
[%- END %] |
|
133 | 83 |
|
134 |
[%- IF is_projects %] |
|
135 |
[% INCLUDE projectnumber %] |
|
136 |
<input type=hidden name=nextsub value=generate_projects> |
|
137 |
<tr> |
|
138 |
<th align=right>[% 'From' | $T8 %]</th> |
|
139 |
<td> [% L.date_tag('fromdate', fromdate, class='initial_focus') %]</td> |
|
140 |
<th align=right nowrap>[% 'Bis' | $T8 %]</th> |
|
141 |
<td>[% L.date_tag('todate') %]</td> |
|
142 |
</tr> |
|
143 |
</table> |
|
144 |
<table> |
|
145 |
<tr> |
|
146 |
<th align=right nowrap>[% 'Include in Report' | $T8 %]</th> |
|
147 |
<td><input name=l_heading class=checkbox type=checkbox value=Y> [% 'Heading' | $T8 %] |
|
148 |
<input name=l_subtotal class=checkbox type=checkbox value=Y> [% 'Subtotal' | $T8 %]</td> |
|
149 |
</tr> |
|
150 |
[%- END %] |
|
84 |
<h1>[% title %]</h1> |
|
151 | 85 |
|
152 |
[%- IF is_income_statement %] |
|
153 |
[%- PROCESS projectnumber %] |
|
154 |
<input type=hidden name=nextsub value=generate_income_statement> |
|
155 |
</table> |
|
156 |
<table> |
|
157 |
[%- PROCESS customized_report %] |
|
158 |
[%- PROCESS cash_or_accrual %] |
|
159 |
<tr> |
|
160 |
<th align=left nowrap>[% 'Include in Report' | $T8 %]</th> |
|
161 |
<td><input name=l_cb class=checkbox type=checkbox value=Y> [% 'CB Transactions' | $T8 %]</td> |
|
162 |
</tr> |
|
163 |
[%- END %] |
|
86 |
<div class="wrapper"> |
|
164 | 87 |
|
88 |
<form method="post" action='[% script %]' id="form"> |
|
89 |
<input type="hidden" name="title" value="[% title %]"> |
|
165 | 90 |
|
166 |
[%- IF is_bwa %] |
|
167 |
[%- PROCESS projectnumber %] |
|
168 |
<input type=hidden name=nextsub value=generate_bwa> |
|
169 |
</table> |
|
170 |
<table> |
|
171 |
[%- PROCESS customized_report %] |
|
172 |
[%- PROCESS cash_or_accrual %] |
|
173 |
<tr> |
|
174 |
<th align=right colspan=4>[% 'Decimalplaces' | $T8 %]</th> |
|
175 |
<td><input name=decimalplaces size=3 value="2"></td> |
|
176 |
</tr> |
|
177 |
[%- END %] |
|
91 |
<table class="tbl-horizontal"> |
|
92 |
<colgroup><col class="wi-smallest"><col class="wi-mediumsmall"><col class="wi-mediumsmall"><col class="wi-wide"></colgroup> |
|
178 | 93 |
|
94 |
[% IF selectdepartment %] |
|
95 |
<tr> |
|
96 |
<th colspan="2">[% 'Department' | $T8 %]</th> |
|
97 |
<td colspan="2"><select name="department" class="wi-lightwide">[% selectdepartment %]</select></td> |
|
98 |
</tr> |
|
99 |
[% END #IF selectdepartment %] |
|
100 |
[% IF is_projects %] |
|
101 |
[% INCLUDE projectnumber %] |
|
102 |
<tr> |
|
103 |
<th colspan="2"> |
|
104 |
<input type="hidden" name="nextsub" value="generate_projects"> |
|
105 |
[% 'Periode' | $T8 %] [% 'from' | $T8 %] |
|
106 |
</th> |
|
107 |
<td colspan="2"> |
|
108 |
[% L.date_tag('fromdate', fromdate, class='initial_focus') %] |
|
109 |
[% 'Bis' | $T8 %] |
|
110 |
[% L.date_tag('todate') %] |
|
111 |
</td> |
|
112 |
</tr> |
|
113 |
<tr> |
|
114 |
<th colspan="2">[% 'Include in Report' | $T8 %]</th> |
|
115 |
<td colspan="2"> |
|
116 |
<input name="l_heading" type="checkbox" value="Y"> [% 'Heading' | $T8 %]<br> |
|
117 |
<input name="l_subtotal" type="checkbox" value="Y"> [% 'Subtotal' | $T8 %] |
|
118 |
</td> |
|
119 |
</tr> |
|
120 |
[% END #IF is_projects %] |
|
121 |
[% IF is_income_statement %] |
|
122 |
[% PROCESS projectnumber %] |
|
123 |
<input type="hidden" name="nextsub" value="generate_income_statement"> |
|
124 |
[% PROCESS cash_or_accrual %] |
|
125 |
<tr> |
|
126 |
<th colspan="2">[% 'Include in Report' | $T8 %]</th> |
|
127 |
<td colspan="2"><input name="l_cb" type="checkbox" value="Y"> [% 'CB Transactions' | $T8 %]</td> |
|
128 |
</tr> |
|
129 |
[% PROCESS customized_report %] |
|
130 |
[% END #IF is_income_statement %] |
|
131 |
[% IF is_bwa %] |
|
132 |
[% PROCESS projectnumber %] |
|
133 |
<input type="hidden" name="nextsub" value="generate_bwa"> |
|
134 |
[% PROCESS cash_or_accrual %] |
|
135 |
<tr> |
|
136 |
<th colspan="2">[% 'Decimalplaces' | $T8 %]</th> |
|
137 |
<td colspan="2"><input type="text" name="decimalplaces" class="wi-verysmall" value="2"></td> |
|
138 |
</tr> |
|
139 |
[% PROCESS customized_report %] |
|
140 |
[% END #IF is_bwa %] |
|
141 |
[% IF is_erfolgsrechnung %] |
|
142 |
<input type="hidden" name="nextsub" value="generate_erfolgsrechnung"> |
|
143 |
[% PROCESS customized_report %] |
|
144 |
[% END #IF is_erfolgsrechnung %] |
|
145 |
[% IF is_balance_sheet %] |
|
146 |
<input type="hidden" name="nextsub" value="generate_balance_sheet"> |
|
147 |
<tr> |
|
148 |
<th colspan="2">[% 'as at' | $T8 %]</th> |
|
149 |
<td class="wi-date"> [% L.date_tag('asofdate', asofdate, class="initial_focus") %]</td> |
|
150 |
<td> |
|
151 |
<input name="l_cb" type="checkbox" value="Y"> [% 'CB Transactions' | $T8 %]<br> |
|
152 |
<input name="l_ob" type="checkbox" value="Y"> [% 'only OB Transactions' | $T8 %] |
|
153 |
</td> |
|
154 |
</tr> |
|
155 |
</tr> |
|
156 |
<th colspan="2">[% 'Compare to' | $T8 %]</th> |
|
157 |
<td class="wi-date">[% L.date_tag('compareasofdate', compareasofdate) %]</td> |
|
158 |
<td> |
|
159 |
<input name="l_cb_compared" type="checkbox" value="Y"> [% 'CB Transactions' | $T8 %]<br> |
|
160 |
<input name="l_ob_compared" type="checkbox" value="Y"> [% 'only OB Transactions' | $T8 %] |
|
161 |
</td> |
|
162 |
</tr> |
|
163 |
<tr> |
|
164 |
<th colspan="2">[% 'Decimalplaces' | $T8 %]</th> |
|
165 |
<td colspan="2"><input type="text" name="decimalplaces" class="wi-verysmall" value="2"></td> |
|
166 |
</tr> |
|
167 |
[% PROCESS cash_or_accrual %] |
|
168 |
<tr> |
|
169 |
<th colspan="2">[% 'Include in Report' | $T8 %]</th> |
|
170 |
<td colspan="2"> |
|
171 |
<input name="l_heading" type="checkbox" value="Y"> [% 'Heading' | $T8 %]<br> |
|
172 |
<input name="l_subtotal" type="checkbox" value="Y"> [% 'Subtotal' | $T8 %]<br> |
|
173 |
<input name="l_accno" type="checkbox" value="Y"> [% 'Account Number' | $T8 %] |
|
174 |
</td> |
|
175 |
</tr> |
|
176 |
[% END #IF is_balance_sheet %] |
|
177 |
[% IF is_trial_balance %] |
|
178 |
[% PROCESS customer %] |
|
179 |
[% PROCESS projectnumber %] |
|
180 |
<input type="hidden" name="nextsub" value="generate_trial_balance"> |
|
181 |
<tr> |
|
182 |
<th colspan="2">[% 'All Accounts' | $T8 %]</th> |
|
183 |
<td colspan="2"><input name="all_accounts" type="checkbox" value="1"></td> |
|
184 |
</tr> |
|
185 |
<tr> |
|
186 |
<th colspan="2">[% 'Decimalplaces' | $T8 %]</th> |
|
187 |
<td colspan="2"><input type="text" name="decimalplaces" class="wi-verysmall" value="2"></td> |
|
188 |
</tr> |
|
189 |
[% PROCESS cash_or_accrual %] |
|
190 |
[% PROCESS customized_report %] |
|
191 |
[% END #IF is_trial_balance %] |
|
192 |
[% IF is_aging %] |
|
193 |
<tr> |
|
194 |
<th colspan="2">[% label %]</th> |
|
195 |
<td colspan="2" class="wi-lightwide">[% vc %]</td> |
|
196 |
</tr> |
|
197 |
<tr> |
|
198 |
<th colspan="4"> |
|
199 |
<input name="reporttype" type="radio" value="custom" checked> |
|
200 |
[% 'Reference day' | $T8 %] ([% 'Due Date' | $T8 %][% ', if set' | $T8 %]) |
|
201 |
</th> |
|
202 |
</tr> |
|
203 |
<tr> |
|
204 |
<th></th> |
|
205 |
<th>[% 'Review of Aging list' | $T8 %]</th> |
|
206 |
<td colspan="2"> |
|
207 |
<select name="review_of_aging_list"> |
|
208 |
<option></option> |
|
209 |
<option>0-30</option> |
|
210 |
<option>30-60</option> |
|
211 |
<option>60-90</option> |
|
212 |
<option>90-120</option> |
|
213 |
<option>> 120</option> |
|
214 |
</select> |
|
215 |
</td> |
|
216 |
</tr> |
|
217 |
<tr> |
|
218 |
<th></th> |
|
219 |
<th>... [% 'for date' | $T8 %]</th> |
|
220 |
<td colspan="2">[% L.date_tag('fordate', today) %]</td> |
|
221 |
</tr> |
|
222 |
<tr> |
|
223 |
<th colspan="4"> |
|
224 |
<input name="reporttype" type="radio" value="free"> |
|
225 |
[% 'Free report period' | $T8 %] ([% 'Invoice Date' | $T8 %]) |
|
226 |
</th> |
|
227 |
</tr> |
|
228 |
<tr> |
|
229 |
<th></th> |
|
230 |
<th>[% 'Period' | $T8 %] [% 'from' | $T8 %]</th> |
|
231 |
<td colspan="2"> |
|
232 |
[% L.date_tag('fromdate', fromdate) %] |
|
233 |
[% 'Bis' | $T8 %] [% L.date_tag('todate') %] |
|
179 | 234 |
|
180 |
[%- IF is_erfolgsrechnung %] |
|
181 |
<input type=hidden name=nextsub value=generate_erfolgsrechnung> |
|
235 |
<input type="hidden" name="type" value="statement"> |
|
236 |
[% L.hidden_tag("format", format) %] |
|
237 |
<input type="hidden" name="media" value="screen"> |
|
238 |
<input type="hidden" name="nextsub" value='[% nextsub %]'> |
|
239 |
<input type="hidden" name="action" value='[% nextsub %]'> |
|
240 |
</td> |
|
241 |
</tr> |
|
242 |
[% END #IF is_aging %] |
|
243 |
[% IF is_payments %] |
|
244 |
<input type="hidden" name="nextsub" value="list_payments"> |
|
245 |
<tr> |
|
246 |
<th colspan="2">[% 'Account' | $T8 %]</th> |
|
247 |
<td colspan="2"> |
|
248 |
<select name="account">[% selection %]</select> |
|
249 |
<input type="hidden" name="paymentaccounts" value="[% paymentaccounts %]"> |
|
250 |
</td> |
|
251 |
</tr> |
|
252 |
<tr> |
|
253 |
<th colspan="2">[% 'Reference' | $T8 %]</th> |
|
254 |
<td colspan="2"><input type="text" name="reference" class="initial_focus" class="wi-lightwide"></td> |
|
255 |
</tr> |
|
256 |
<tr> |
|
257 |
<th colspan="2">[% 'Source' | $T8 %]</th> |
|
258 |
<td colspan="2"><input type="text" name="source" class="wi-lightwide"></td> |
|
259 |
</tr> |
|
260 |
<tr> |
|
261 |
<th colspan="2">[% 'Memo' | $T8 %]</th> |
|
262 |
<td colspan="2"><input type="text" name="memo" class="wi-lightwide"></td> |
|
263 |
</tr> |
|
264 |
<tr> |
|
265 |
<th colspan="2">[% 'Period' | $T8 %] [% 'From' | $T8 %]</th> |
|
266 |
<td colspan="2"> |
|
267 |
[% L.date_tag('fromdate', fromdate) %] |
|
268 |
[% 'Bis' | $T8 %] |
|
269 |
[% L.date_tag('todate') %] |
|
270 |
</td> |
|
271 |
</tr> |
|
272 |
<tr> |
|
273 |
<td colspan="2"></td> |
|
274 |
<td colspan="2"> |
|
275 |
<input type="checkbox" style="checkbox" name="fx_transaction" value="1" checked> |
|
276 |
[% 'Include Exchangerate Difference' | $T8 %] |
|
277 |
<input type="hidden" name="db" value='[% db %]'> |
|
278 |
<input type="hidden" name="sort" value="transdate"> |
|
279 |
</td> |
|
280 |
</tr> |
|
281 |
[% END #IF is_payments %] |
|
282 |
[% IF 0 # is_taxreport %] |
|
283 |
<tr> |
|
284 |
<td colspan="2"> |
|
285 |
<input type="hidden" name="nextsub" value="generate_tax_report"> |
|
286 |
[% 'Period' | $T8 %] [% 'from' | $T8 %] |
|
287 |
</td> |
|
288 |
<td colspan="2" class="wi-date">[% L.date_tag('fromdate', fromdate) %] [% 'Bis' | $T8 %] [% L.date_tag('todate', todate) %]</td> |
|
289 |
</tr> |
|
290 |
<tr> |
|
291 |
<th colspan="2">[% 'Report for' | $T8 %]</th> |
|
292 |
<td colspan="2"> |
|
293 |
[% FOREACH row IN taxaccounts %] |
|
294 |
<input name="accno" type="radio" value='[% row.accno %]' [% loop.first ? 'checked' : '' %]> [% row.description %] |
|
295 |
<input name="[% row.accno %]_description" type="hidden" value="[% row.description %]"> |
|
296 |
<input name="[% row.accno %]_rate" type="hidden" value="[% row.rate %]"> |
|
297 |
[% END %] |
|
298 |
<input type="hidden" name="db" value='[% db %]'> |
|
299 |
<input type="hidden" name="sort" value="transdate"> |
|
300 |
</td> |
|
301 |
</tr> |
|
302 |
[% PROCESS cash_or_accrual %] |
|
303 |
[% END %] |
|
182 | 304 |
</table> |
183 |
<table> |
|
184 |
[%- PROCESS customized_report %] |
|
185 |
[%- END %] |
|
186 | 305 |
|
306 |
[% IF 0 # is_taxreport - formerly at end of table above in a separate row %] |
|
307 |
<div class="form-addition control-panel"> |
|
308 |
<h3>[% 'Include in Report' | $T8 %]</h3> |
|
309 |
<table class="tbl-horizontal"> |
|
310 |
<tr> |
|
311 |
<td><input name="l_id" type="checkbox" value="Y"></td> |
|
312 |
<td>[% 'ID' | $T8 %]</td> |
|
313 |
<td><input name="l_invnumber" type="checkbox" value="Y" checked></td> |
|
314 |
<td>[% 'Invoice' | $T8 %]</td> |
|
315 |
<td><input name="l_transdate" type="checkbox" value="Y" checked></td> |
|
316 |
<td>[% 'Date' | $T8 %]</td> |
|
317 |
</tr> |
|
318 |
<tr> |
|
319 |
<td><input name="l_name" type="checkbox" value="Y" checked></td> |
|
320 |
<td> |
|
321 |
[% LxERP.t8('Customer') IF db == 'ar' %] |
|
322 |
[% LxERP.t8('Vendor') IF db == 'ap' %] |
|
323 |
</td> |
|
324 |
<td><input name="l_netamount" type="checkbox" value="Y" checked></td> |
|
325 |
<td>[% 'Amount' | $T8 %]</td> |
|
326 |
<td><input name="l_tax" type="checkbox" value="Y" checked></td> |
|
327 |
<td>[% 'Tax' | $T8 %]</td> |
|
328 |
<td><input name="l_amount" type="checkbox" value="Y"></td> |
|
329 |
<td>[% 'Total' | $T8 %]</td> |
|
330 |
</tr> |
|
331 |
<tr> |
|
332 |
<td><input name="l_subtotal" type="checkbox" value="Y"></td> |
|
333 |
<td>[% 'Subtotal' | $T8 %]</td> |
|
334 |
</tr> |
|
335 |
</table> |
|
336 |
</div><!-- /.form-addition --> |
|
337 |
[% END %] |
|
187 | 338 |
|
188 |
[%- IF is_balance_sheet %] |
|
189 |
<input type=hidden name=nextsub value=generate_balance_sheet> |
|
190 |
<tr> |
|
191 |
<th align=right>[% 'as at' | $T8 %]</th> |
|
192 |
<td> [% L.date_tag('asofdate', asofdate, class="initial_focus") %]</td> |
|
193 |
<td><input name=l_cb class=checkbox type=checkbox value=Y> [% 'CB Transactions' | $T8 %]</td> |
|
194 |
<td><input name=l_ob class=checkbox type=checkbox value=Y> [% 'only OB Transactions' | $T8 %]</td> |
|
195 |
</tr> |
|
196 |
</tr> |
|
197 |
<th align=right nowrap>[% 'Compare to' | $T8 %]</th> |
|
198 |
<td>[% L.date_tag('compareasofdate', compareasofdate) %]</td> |
|
199 |
<td><input name=l_cb_compared class=checkbox type=checkbox value=Y> [% 'CB Transactions' | $T8 %]</td> |
|
200 |
<td><input name=l_ob_compared class=checkbox type=checkbox value=Y> [% 'only OB Transactions' | $T8 %]</td> |
|
201 |
</tr> |
|
202 |
<tr> |
|
203 |
<th align=right>[% 'Decimalplaces' | $T8 %]</th> |
|
204 |
<td><input name=decimalplaces size=3 value="2"></td> |
|
205 |
</tr> |
|
206 |
</table> |
|
207 |
<table> |
|
208 |
[%- PROCESS cash_or_accrual %] |
|
209 |
<tr> |
|
210 |
<th align=right nowrap>[% 'Include in Report' | $T8 %]</th> |
|
211 |
<td><input name=l_heading class=checkbox type=checkbox value=Y> [% 'Heading' | $T8 %] |
|
212 |
<input name=l_subtotal class=checkbox type=checkbox value=Y> [% 'Subtotal' | $T8 %] |
|
213 |
<input name=l_accno class=checkbox type=checkbox value=Y> [% 'Account Number' | $T8 %]</td> |
|
214 |
</tr> |
|
215 |
[%- END %] |
|
216 |
|
|
217 |
[%- IF is_trial_balance %] |
|
218 |
[%- PROCESS customer %] |
|
219 |
[%- PROCESS projectnumber %] |
|
220 |
<input type=hidden name=nextsub value=generate_trial_balance> |
|
221 |
</table> |
|
222 |
<table> |
|
223 |
[%- PROCESS customized_report %] |
|
224 |
[%- PROCESS cash_or_accrual %] |
|
225 |
<tr> |
|
226 |
<th align=right colspan=4>[% 'All Accounts' | $T8 %]</th> |
|
227 |
<td><input name=all_accounts type=checkbox value=1></td> |
|
228 |
</tr> |
|
229 |
<tr> |
|
230 |
<th align=right colspan=4>[% 'Decimalplaces' | $T8 %]</th> |
|
231 |
<td><input name=decimalplaces size=3 value="2"></td> |
|
232 |
</tr> |
|
233 |
[%- END %] |
|
234 |
|
|
235 |
[%- IF is_aging %] |
|
236 |
<tr> |
|
237 |
<th align=left>[% label %]</th> |
|
238 |
<td>[% vc %]</td> |
|
239 |
</tr> |
|
240 |
</table> |
|
241 |
<table border="0"> |
|
242 |
<tr> |
|
243 |
<td colspan=5><hr size=1 noshade></td> |
|
244 |
</tr> |
|
245 |
<tr> |
|
246 |
<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> |
|
247 |
<td align="right" colspan="4">[% 'Review of Aging list' | $T8 %] <select name="review_of_aging_list"> |
|
248 |
<option></option> |
|
249 |
<option>0-30</option> |
|
250 |
<option>30-60</option> |
|
251 |
<option>60-90</option> |
|
252 |
<option>90-120</option> |
|
253 |
<option>> 120</option> |
|
254 |
</select> [% 'for date' | $T8 %] [% L.date_tag('fordate', today) %] |
|
255 |
</td> |
|
256 |
</tr> |
|
257 |
<tr> |
|
258 |
<td colspan=5><hr size=3 noshade></td> |
|
259 |
</tr> |
|
260 |
<tr> |
|
261 |
<th align=left><input name=reporttype class=radio type=radio value="free"><b>[% 'Free report period' | $T8 %]</b> ([% 'Invoice Date' | $T8 %]) </th> |
|
262 |
<td align="right" colspan=4> |
|
263 |
[% 'From' | $T8 %] [% L.date_tag('fromdate', fromdate) %] |
|
264 |
[% 'Bis' | $T8 %] [% L.date_tag('todate') %] |
|
265 |
</td> |
|
266 |
</tr> |
|
267 |
<input type=hidden name=type value=statement> |
|
268 |
[% L.hidden_tag("format", format) %] |
|
269 |
<input type=hidden name=media value=screen> |
|
270 |
|
|
271 |
<input type=hidden name=nextsub value='[% nextsub %]'> |
|
272 |
<input type=hidden name=action value='[% nextsub %]'> |
|
273 |
[%- END %] |
|
274 |
|
|
275 |
[%- IF is_payments %] |
|
276 |
<input type=hidden name=nextsub value=list_payments> |
|
277 |
<tr> |
|
278 |
<th align=right nowrap>[% 'Account' | $T8 %]</th> |
|
279 |
<td colspan=3><select name=account>[% selection %]</select> |
|
280 |
<input type=hidden name=paymentaccounts value="[% paymentaccounts %]"> |
|
281 |
</td> |
|
282 |
</tr> |
|
283 |
<tr> |
|
284 |
<th align=right>[% 'Reference' | $T8 %]</th> |
|
285 |
<td colspan=3><input name=reference class="initial_focus"></td> |
|
286 |
</tr> |
|
287 |
<tr> |
|
288 |
<th align=right nowrap>[% 'Source' | $T8 %]</th> |
|
289 |
<td colspan=3><input name=source></td> |
|
290 |
</tr> |
|
291 |
<tr> |
|
292 |
<th align=right nowrap>[% 'Memo' | $T8 %]</th> |
|
293 |
<td colspan=3><input name=memo size=30></td> |
|
294 |
</tr> |
|
295 |
<tr> |
|
296 |
<th align=right>[% 'From' | $T8 %]</th> |
|
297 |
<td>[% L.date_tag('fromdate', fromdate) %]</td> |
|
298 |
<th align=right>[% 'Bis' | $T8 %]</th> |
|
299 |
<td>[% L.date_tag('todate') %]</td> |
|
300 |
</tr> |
|
301 |
<tr> |
|
302 |
<td align=right><input type=checkbox style=checkbox name=fx_transaction value=1 checked></td> |
|
303 |
<th align=left colspan=3>[% 'Include Exchangerate Difference' | $T8 %]</td> |
|
304 |
</tr> |
|
305 |
|
|
306 |
<input type=hidden name=db value='[% db %]'> |
|
307 |
<input type=hidden name=sort value=transdate> |
|
308 |
[%- END %] |
|
309 |
|
|
310 |
[%- IF 0 # is_taxreport %] |
|
311 |
<input type=hidden name=nextsub value=generate_tax_report> |
|
312 |
<tr> |
|
313 |
<th align=right>[% 'From' | $T8 %]</th> |
|
314 |
<td>[% L.date_tag('fromdate', fromdate) %]</td> |
|
315 |
<th align=right>[% 'Bis' | $T8 %]</th> |
|
316 |
<td>[% L.date_tag('todate', todate) %]</td> |
|
317 |
</tr> |
|
318 |
<tr> |
|
319 |
<th align=right>[% 'Report for' | $T8 %]</th> |
|
320 |
<td colspan=3> |
|
321 |
[% FOREACH row IN taxaccounts %] |
|
322 |
<input name=accno class=radio type=radio value='[% row.accno %]' [% loop.first ? 'checked' : '' %]> [% row.description %] |
|
323 |
<input name="[% row.accno %]_description" type=hidden value="[% row.description %]"> |
|
324 |
<input name="[% row.accno %]_rate" type=hidden value="[% row.rate %]"> |
|
325 |
[%- END %] |
|
326 |
<input type=hidden name=db value='[% db %]'> |
|
327 |
<input type=hidden name=sort value=transdate> |
|
328 |
</td> |
|
329 |
</tr> |
|
330 |
[%- PROCESS cash_or_accrual %] |
|
331 |
</table> |
|
332 |
<table> |
|
333 |
<tr> |
|
334 |
<th align=right>[% 'Include in Report' | $T8 %]</th> |
|
335 |
<td> |
|
336 |
<table> |
|
337 |
<tr> |
|
338 |
<td><input name="l_id" class=checkbox type=checkbox value=Y></td> |
|
339 |
<td>[% 'ID' | $T8 %]</td> |
|
340 |
<td><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td> |
|
341 |
<td>[% 'Invoice' | $T8 %]</td> |
|
342 |
<td><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td> |
|
343 |
<td>[% 'Date' | $T8 %]</td> |
|
344 |
</tr> |
|
345 |
<tr> |
|
346 |
<td><input name="l_name" class=checkbox type=checkbox value=Y checked></td> |
|
347 |
<td> |
|
348 |
[% LxERP.t8('Customer') IF db == 'ar' %] |
|
349 |
[% LxERP.t8('Vendor') IF db == 'ap' %] |
|
350 |
</td> |
|
351 |
<td><input name="l_netamount" class=checkbox type=checkbox value=Y checked></td> |
|
352 |
<td>[% 'Amount' | $T8 %]</td> |
|
353 |
<td><input name="l_tax" class=checkbox type=checkbox value=Y checked></td> |
|
354 |
<td>[% 'Tax' | $T8 %]</td> |
|
355 |
<td><input name="l_amount" class=checkbox type=checkbox value=Y></td> |
|
356 |
<td>[% 'Total' | $T8 %]</td> |
|
357 |
</tr> |
|
358 |
<tr> |
|
359 |
<td><input name="l_subtotal" class=checkbox type=checkbox value=Y></td> |
|
360 |
<td>[% 'Subtotal' | $T8 %]</td> |
|
361 |
</tr> |
|
362 |
</table> |
|
363 |
</td> |
|
364 |
</tr> |
|
365 |
[%- END %] |
|
366 |
</table> |
|
367 | 339 |
</form> |
340 |
</div><!-- /.wrapper --> |
|
341 |
|
|
368 | 342 |
|
369 | 343 |
<script type="text/javascript"> |
370 | 344 |
function set_from_to(duetyp, year) { |
Auch abrufbar als: Unified diff
Neues kivitendo Design Aenderungen in templates/webpages/rp/..