Revision 9f3acf01
Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt
templates/webpages/oe/search.html | ||
---|---|---|
1 |
[%- USE HTML %] |
|
2 |
[%- USE T8 %] |
|
3 |
[%- USE LxERP %] |
|
4 |
[%- USE L %][%- USE P -%] |
|
1 |
[% USE T8 %] |
|
2 |
[% USE HTML %] |
|
3 |
[% USE LxERP %] |
|
4 |
[% USE L %] |
|
5 |
[% USE P %] |
|
6 |
|
|
5 | 7 |
<h1>[% HTML.escape(title) %]</h1> |
6 | 8 |
|
7 |
[%- SET vclabel = vc == 'customer' ? LxERP.t8('Customer') : LxERP.t8('Vendor') %]
|
|
8 |
[%- SET vcnumberlabel = vc == 'customer' ? LxERP.t8('Customer Number') : LxERP.t8('Vendor Number') %]
|
|
9 |
[%- SET vctypelabel = vc == 'customer' ? LxERP.t8('Customer type') : LxERP.t8('Vendor type') %]
|
|
10 |
[%- SET vcdefault = 'old' _ vc %]
|
|
11 |
[%- SET style="width: 250px" %]
|
|
9 |
[% SET vclabel = vc == 'customer' ? LxERP.t8('Customer') : LxERP.t8('Vendor') %] |
|
10 |
[% SET vcnumberlabel = vc == 'customer' ? LxERP.t8('Customer Number') : LxERP.t8('Vendor Number') %] |
|
11 |
[% SET vctypelabel = vc == 'customer' ? LxERP.t8('Customer type') : LxERP.t8('Vendor type') %] |
|
12 |
[% SET vcdefault = 'old' _ vc %] |
|
13 |
[% SET style="width: 250px" %] |
|
12 | 14 |
|
13 | 15 |
<form method="post" action="oe.pl" id="form"> |
14 | 16 |
|
15 |
<table width="100%"> |
|
16 |
<tr> |
|
17 |
<td> |
|
18 |
<table> |
|
17 |
<div class="wrapper"> |
|
18 |
|
|
19 |
<table class="tbl-horizontal"> |
|
20 |
<caption>[% HTML.escape(vclabel) %]</caption> |
|
21 |
<tbody> |
|
19 | 22 |
<tr> |
20 |
<th align="right">[% HTML.escape(vclabel) %]</th>
|
|
21 |
<td>[% L.input_tag(vc, $vcdefault, style=style, class="initial_focus") %]</td>
|
|
23 |
<th>[% HTML.escape(vclabel) %]</th>
|
|
24 |
<td>[% L.input_tag(vc, $vcdefault, class="initial_focus wi-normal") %]</td>
|
|
22 | 25 |
</tr> |
23 | 26 |
<tr> |
24 |
<th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
|
|
25 |
<td>[% L.input_tag("cp_name", '', style=style) %]</td>
|
|
27 |
<th>[% 'Contact Person' | $T8 %]</th>
|
|
28 |
<td>[% L.input_tag("cp_name", '', class="wi-normal") %]</td>
|
|
26 | 29 |
</tr> |
27 |
[%- IF ALL_DEPARTMENTS.size %]
|
|
30 |
[% UNLESS ALL_BUSINESS_TYPES.size == 0 %]
|
|
28 | 31 |
<tr> |
29 |
<th align="right" nowrap>[% 'Department' | $T8 %]</th>
|
|
30 |
<td colspan=3>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style=style) %]</td>
|
|
32 |
<th>[% vctypelabel %]</th>
|
|
33 |
<td> [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, class="wi-normal") %]</td>
|
|
31 | 34 |
</tr> |
32 |
[%- END %] |
|
35 |
[% END %] |
|
36 |
</tbody> |
|
37 |
</table> |
|
38 |
|
|
39 |
<table class="tbl-horizontal"> |
|
40 |
<caption>[% 'Request Quotation' | $T8 %]</caption> |
|
41 |
<colgroup> <col class="wi-mediumsmall"><col class="wi-wide"> </colgroup> |
|
42 |
<tbody> |
|
33 | 43 |
<tr> |
34 |
<th align="right">[% HTML.escape(ordlabel) %]</th>
|
|
35 |
<td>[% L.input_tag(ordnrname, "", style=style) %]</td>
|
|
44 |
<th>[% HTML.escape(ordlabel) %]</th>
|
|
45 |
<td>[% L.input_tag(ordnrname, "", class="wi-lightwide") %]</td>
|
|
36 | 46 |
</tr> |
37 |
[% IF is_order %] |
|
47 |
[% IF is_order %]
|
|
38 | 48 |
<tr> |
39 |
<th align="right">[% LxERP.t8("Customer Order Number") %]</th>
|
|
40 |
<td>[% L.input_tag("cusordnumber", '', style=style) %]</td>
|
|
49 |
<th>[% LxERP.t8("Customer Order Number") %]</th>
|
|
50 |
<td>[% L.input_tag("cusordnumber", '', class="wi-lightwide") %]</td>
|
|
41 | 51 |
</tr> |
42 |
[% END %] |
|
52 |
[% END %]
|
|
43 | 53 |
<tr> |
44 |
<th align="right">[% 'Employee' | $T8 %]</th>
|
|
45 |
<td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style=style) %]</td>
|
|
54 |
<th>[% 'Steuersatz' | $T8 %]</th>
|
|
55 |
<td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', class="wi-lightwide") %]</td>
|
|
46 | 56 |
</tr> |
47 | 57 |
<tr> |
48 |
<th align="right">[% 'Salesman' | $T8 %]</th>
|
|
49 |
<td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style=style) %]</td>
|
|
58 |
<th>[% 'Shipping Point' | $T8 %]</th>
|
|
59 |
<td>[% L.input_tag('shippingpoint', '', class="wi-lightwide") %]</td>
|
|
50 | 60 |
</tr> |
51 | 61 |
<tr> |
52 |
<th align="right">[% 'Steuersatz' | $T8 %]</th>
|
|
53 |
<td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', style=style) %]</td>
|
|
62 |
<th>[% 'Transaction description' | $T8 %]</th>
|
|
63 |
<td>[% L.input_tag("transaction_description", "", class="wi-lightwide") %]</td>
|
|
54 | 64 |
</tr> |
55 | 65 |
<tr> |
56 |
<th align="right">[% 'Shipping Point' | $T8 %]</th>
|
|
57 |
<td>[% L.input_tag('shippingpoint', '', style=style) %]</td>
|
|
66 |
<th>[% 'Project' | $T8 %]</th>
|
|
67 |
<td>[% P.project.picker("project_id", '', class="wi-lightwide") %]</td>
|
|
58 | 68 |
</tr> |
59 | 69 |
<tr> |
60 |
<th align="right">[% 'Transaction description' | $T8 %]</th> |
|
61 |
<td>[% L.input_tag("transaction_description", "", style=style) %]</td> |
|
62 |
|
|
63 |
<th align="right">[% 'Part Description' | $T8 %]</th> |
|
64 |
<td>[% L.input_tag("parts_description", "", style=style) %]</td> |
|
70 |
<th>[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th> |
|
71 |
<td>[% L.date_tag('transdatefrom','', class='wi-date') %] [% 'Bis' | $T8 %] [% L.date_tag('transdateto','', class='wi-date') %]</td> |
|
65 | 72 |
</tr> |
66 | 73 |
<tr> |
67 |
<th align="right">[% 'Project' | $T8 %]</th> |
|
68 |
<td>[% P.project.picker("project_id", '', style=style) %]</td> |
|
69 |
|
|
70 |
<th align="right">[% 'Part Number' | $T8 %]</th> |
|
71 |
<td>[% L.input_tag("parts_partnumber", "", style=style) %]</td> |
|
74 |
<th>[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th> |
|
75 |
<td>[% L.date_tag('reqdatefrom','', class='wi-date') %] [% 'Bis' | $T8 %] [% L.date_tag('reqdateto','', class='wi-date') %]</td> |
|
72 | 76 |
</tr> |
73 |
[%- UNLESS ALL_BUSINESS_TYPES.size == 0 %]
|
|
77 |
[% IF type == 'sales_order' %]
|
|
74 | 78 |
<tr> |
75 |
<th align="right" nowrap>[% vctypelabel %]</th> |
|
76 |
<td> |
|
77 |
[% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, style=style) %] |
|
78 |
</td> |
|
79 |
<th>[% 'Insert Date' | $T8 %] [% 'From' | $T8 %]</th> |
|
80 |
<td>[% L.date_tag('insertdatefrom','', class='wi-date') %] [% 'Bis' | $T8 %] [% L.date_tag('insertdateto','', class='wi-date') %]</td> |
|
79 | 81 |
</tr> |
80 |
[%- END %] |
|
82 |
[% END %] |
|
83 |
[% IF type == 'sales_quotation' %] |
|
81 | 84 |
<tr> |
82 |
<th align="right">[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th> |
|
83 |
<td> |
|
84 |
[% L.date_tag('transdatefrom') %] |
|
85 |
[% 'Bis' | $T8 %] |
|
86 |
[% L.date_tag('transdateto') %] |
|
87 |
</td> |
|
85 |
<th>[% 'Expected billing date' | $T8 %] [% 'From' | $T8 %]</th> |
|
86 |
<td>[% L.date_tag('expected_billing_date_from', '', class='wi-date') %] [% 'Bis' | $T8 %] [% L.date_tag('expected_billing_date_to', '', class='wi-date') %]</td> |
|
88 | 87 |
</tr> |
89 | 88 |
<tr> |
90 |
<th align="right">[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th> |
|
91 |
<td> |
|
92 |
[% L.date_tag('reqdatefrom') %] |
|
93 |
[% 'Bis' | $T8 %] |
|
94 |
[% L.date_tag('reqdateto') %] |
|
95 |
</td> |
|
89 |
<th>[% 'Order probability' | $T8 %]</th> |
|
90 |
<td>[% L.select_tag('order_probability_op', [[ 'ge', '>=' ], [ 'le', '<=' ]]) %] [% L.select_tag('order_probability_value', ORDER_PROBABILITIES, title='title', with_empty=1) %]</td> |
|
96 | 91 |
</tr> |
92 |
[% END %] |
|
93 |
[% IF CT_CUSTOM_VARIABLES.size %] |
|
94 |
<tr> |
|
95 |
<th class="caption" colspan="2">[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</th> |
|
96 |
</tr> |
|
97 |
[% CT_CUSTOM_VARIABLES_FILTER_CODE %] |
|
98 |
[% END %] |
|
99 |
</tbody> |
|
100 |
</table> |
|
101 |
|
|
97 | 102 |
|
98 |
[%- IF type == 'sales_order' %] |
|
103 |
<table class="tbl-horizontal"> |
|
104 |
<caption>[% 'Article' | $T8 %]</caption> |
|
105 |
<tbody> |
|
99 | 106 |
<tr> |
100 |
<th align="right">[% 'Insert Date' | $T8 %] [% 'From' | $T8 %]</th> |
|
101 |
<td> |
|
102 |
[% L.date_tag('insertdatefrom') %] |
|
103 |
[% 'Bis' | $T8 %] |
|
104 |
[% L.date_tag('insertdateto') %] |
|
105 |
</td> |
|
107 |
<th>[% 'Part Description' | $T8 %]</th> |
|
108 |
<td>[% L.input_tag("parts_description", "", class="wi-normal") %]</td> |
|
106 | 109 |
</tr> |
107 |
[%- END %] |
|
108 |
|
|
109 |
[%- IF type == 'sales_quotation' %] |
|
110 | 110 |
<tr> |
111 |
<th align="right">[% 'Expected billing date' | $T8 %] [% 'From' | $T8 %]</th> |
|
112 |
<td> |
|
113 |
[% L.date_tag('expected_billing_date_from', '') %] |
|
114 |
[% 'Bis' | $T8 %] |
|
115 |
[% L.date_tag('expected_billing_date_to', '') %] |
|
116 |
</td> |
|
111 |
<th>[% 'Part Number' | $T8 %]</th> |
|
112 |
<td>[% L.input_tag("parts_partnumber", "", class="wi-normal") %]</td> |
|
117 | 113 |
</tr> |
118 | 114 |
<tr> |
119 |
<th align="right">[% 'Order probability' | $T8 %]</th> |
|
120 |
<td> |
|
121 |
[% L.select_tag('order_probability_op', [[ 'ge', '>=' ], [ 'le', '<=' ]]) %] |
|
122 |
[% L.select_tag('order_probability_value', ORDER_PROBABILITIES, title='title', with_empty=1) %] |
|
123 |
</td> |
|
115 |
<th class="caption" colspan="2"> [% 'Handling' | $T8 %] </th> |
|
124 | 116 |
</tr> |
125 |
[%- END %] |
|
126 |
|
|
127 |
[%- IF CT_CUSTOM_VARIABLES.size %] |
|
128 | 117 |
<tr> |
129 |
<td></td>
|
|
130 |
<td colspan=4 align=left><b>[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</td>
|
|
118 |
<th>[% 'Employee' | $T8 %]</th>
|
|
119 |
<td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, class="wi-normal") %]</td>
|
|
131 | 120 |
</tr> |
132 |
[% CT_CUSTOM_VARIABLES_FILTER_CODE %] |
|
133 |
[%- END %] |
|
134 |
|
|
135 | 121 |
<tr> |
136 |
<th align="right">[% 'Include in Report' | $T8 %]</th> |
|
137 |
<td colspan="5"> |
|
138 |
<table> |
|
139 |
<tr> |
|
140 |
<td> |
|
141 |
<input type="checkbox" name="open" value="1" id="open" checked> |
|
142 |
<label for="open">[% 'Open' | $T8 %]</label> |
|
143 |
</td> |
|
144 |
<td> |
|
145 |
<input type="checkbox" name="closed" value="1" id="closed"> |
|
146 |
<label for="closed">[% 'Closed' | $T8 %]</label> |
|
147 |
</td> |
|
148 |
</tr> |
|
149 |
[%- IF type == 'sales_order' OR type == 'purchase_order' %] |
|
150 |
<tr> |
|
151 |
<td> |
|
152 |
<input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked> |
|
153 |
<label for="notdelivered">[% 'Not delivered' | $T8 %]</label> |
|
154 |
</td> |
|
155 |
<td> |
|
156 |
<input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked> |
|
157 |
<label for="delivered">[% 'Delivery Order(s) for full qty created' | $T8 %]</label> |
|
158 |
</td> |
|
159 |
</tr> |
|
160 |
[%- END %] |
|
161 |
[%- IF type == 'sales_order' %] |
|
162 |
<tr> |
|
163 |
<td> |
|
164 |
[% L.checkbox_tag("periodic_invoices_active", label => LxERP.t8("Periodic invoices active")) %] |
|
165 |
</td> |
|
166 |
<td> |
|
167 |
[% L.checkbox_tag("periodic_invoices_inactive", label => LxERP.t8("Periodic invoices inactive")) %] |
|
168 |
</td> |
|
169 |
</tr> |
|
170 |
[%- END %] |
|
171 |
<tr> |
|
172 |
<td> |
|
173 |
<input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y"> |
|
174 |
<label for="l_id">[% 'ID' | $T8 %]</label> |
|
175 |
</td> |
|
176 |
<td> |
|
177 |
<input name="l_[% HTML.escape(ordnrname) %]" id="l_[% HTML.escape(ordnrname) %]" class="checkbox" type="checkbox" value="Y" checked> |
|
178 |
<label for="l_[% HTML.escape(ordnrname) %]">[% HTML.escape(ordlabel) %]</label> |
|
179 |
</td> |
|
180 |
[% IF is_order %] |
|
181 |
<td> |
|
182 |
<input name="l_cusordnumber" id="l_cusordnumber" class="checkbox" type="checkbox" value="Y" checked> |
|
183 |
<label for="l_cusordnumber">[% LxERP.t8("Customer Order Number") %]</label> |
|
184 |
</td> |
|
185 |
[% END %] |
|
186 |
</tr> |
|
187 |
<tr> |
|
188 |
<td> |
|
189 |
<input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked> |
|
190 |
<label for="l_transdate">[% 'Date' | $T8 %]</label> |
|
191 |
</td> |
|
192 |
<td> |
|
193 |
<input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked> |
|
194 |
<label for="l_reqdate">[% IF is_order %][% 'Required by' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %]</label> |
|
195 |
</td> |
|
196 |
[%- IF type == 'sales_order' %] |
|
197 |
<td> |
|
198 |
<input name="l_insertdate" id="l_insertdate" class="checkbox" type="checkbox" value="Y"> |
|
199 |
<label for="l_insertdate">[% 'Insert Date' | $T8 %]</label> |
|
200 |
</td> |
|
201 |
[%- END %] |
|
202 |
</tr> |
|
203 |
<tr> |
|
204 |
<td> |
|
205 |
<input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked> |
|
206 |
<label for="l_name">[% HTML.escape(vclabel) %] |
|
207 |
</td> |
|
208 |
<td> |
|
209 |
<input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked> |
|
210 |
<label for="l_employee">[% 'Employee' | $T8 %]</label> |
|
211 |
</td> |
|
212 |
<td> |
|
213 |
<input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y"> |
|
214 |
<label for="l_shipvia">[% 'Ship via' | $T8 %]</label> |
|
215 |
</td> |
|
216 |
</tr> |
|
217 |
<tr> |
|
218 |
<td> |
|
219 |
<input name="l_customernumber" id="l_customernumber" class="checkbox" type="checkbox" value="Y"> |
|
220 |
<label for="l_customernumber">[% 'Customer Number' | $T8 %]</label> |
|
221 |
</td> |
|
222 |
<td>[%- L.checkbox_tag('l_taxzone', label => LxERP.t8('Steuersatz')) %]</td> |
|
223 |
<td>[%- L.checkbox_tag('l_shippingpoint', label => LxERP.t8('Shipping Point')) %]</td> |
|
224 |
</tr> |
|
225 |
<tr> |
|
226 |
<td> |
|
227 |
<input name="l_netamount" id="l_netamount" class="checkbox" type="checkbox" value="Y"> |
|
228 |
<label for="l_netamount">[% 'Amount' | $T8 %]</label> |
|
229 |
</td> |
|
230 |
<td> |
|
231 |
<input name="l_tax" id="l_tax" class="checkbox" type="checkbox" value="Y"> |
|
232 |
<label for="l_tax">[% 'Tax' | $T8 %]</label> |
|
233 |
</td> |
|
234 |
<td> |
|
235 |
<input name="l_amount" id="l_amount" class="checkbox" type="checkbox" value="Y" checked> |
|
236 |
<label for="l_amount">[% 'Total' | $T8 %]</label> |
|
237 |
</td> |
|
238 |
</tr> |
|
239 |
<tr> |
|
240 |
<td> |
|
241 |
<input name="l_marge_total" id="l_marge_total" class="checkbox" type="checkbox" value="Y"> |
|
242 |
<label for="l_marge_total">[% 'Ertrag' | $T8 %]</label> |
|
243 |
</td> |
|
244 |
<td> |
|
245 |
<input name="l_marge_percent" id="l_marge_percent" class="checkbox" type="checkbox" value="Y"> |
|
246 |
<label for="l_marge_percent">[% 'Ertrag prozentual' | $T8 %]</label> |
|
247 |
</td> |
|
248 |
<td> |
|
249 |
<input name="l_payment_terms" id="l_payment_terms" class="checkbox" type="checkbox" value="Y"> |
|
250 |
<label for="l_payment_terms">[% 'Payment Terms' | $T8 %]</label> |
|
251 |
</td> |
|
252 |
</tr> |
|
253 |
<tr> |
|
254 |
<td> |
|
255 |
<input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y"> |
|
256 |
<label for="l_globalprojectnumber">[% 'Project Number' | $T8 %]</label> |
|
257 |
</td> |
|
258 |
<td> |
|
259 |
<input name="l_transaction_description" id="l_transaction_description" class="checkbox" type="checkbox" value="Y"[% IF INSTANCE_CONF.get_require_transaction_description_ps %] checked[% END %]> |
|
260 |
<label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label> |
|
261 |
</td> |
|
262 |
</tr> |
|
263 |
<tr> |
|
264 |
<td> |
|
265 |
<input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y"> |
|
266 |
<label for="l_subtotal">[% 'Subtotal' | $T8 %]</label> |
|
267 |
</td> |
|
268 |
<td> |
|
269 |
<input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y"> |
|
270 |
<label for="l_salesman">[% 'Salesman' | $T8 %]</label> |
|
271 |
</td> |
|
272 |
</tr> |
|
273 |
[% IF type == 'sales_quotation' %] |
|
274 |
<tr> |
|
275 |
<td colspan="2"> |
|
276 |
<input name="l_order_probability_expected_billing_date" id="l_order_probability_expected_billing_date" class="checkbox" type="checkbox" value="Y"> |
|
277 |
<label for="l_order_probability_expected_billing_date">[% 'Order probability & expected billing date' | $T8 %]</label> |
|
278 |
</td> |
|
279 |
</tr> |
|
280 |
[%- END %] |
|
281 |
<tr> |
|
282 |
<td> |
|
283 |
<input name="l_remaining_amount" id="l_remaining_amount" class="checkbox" type="checkbox" value="Y"> |
|
284 |
<label for="l_remaining_amount">[% 'Remaining Amount' | $T8 %]</label> |
|
285 |
</td> |
|
286 |
<td> |
|
287 |
<input name="l_remaining_netamount" id="l_remaining_netamount" class="checkbox" type="checkbox" value="Y"> |
|
288 |
<label for="l_remaining_netamount">[% 'Remaining Net Amount' | $T8 %]</label> |
|
289 |
</td> |
|
290 |
</tr> |
|
291 |
<tr> |
|
292 |
<td colspan=4 align=left><b>[% HTML.escape(vclabel) %]</td> |
|
293 |
</tr> |
|
294 |
<tr> |
|
295 |
<td> |
|
296 |
<input name="l_vcnumber" id="l_vcnumber" class="checkbox" type="checkbox" value="Y"> |
|
297 |
<label for="l_vcnumber">[% HTML.escape(vcnumberlabel) %]</label> |
|
298 |
</td> |
|
299 |
<td> |
|
300 |
<input name="l_country" id="l_country" class="checkbox" type="checkbox" value="Y"> |
|
301 |
<label for="l_country">[% 'Country' | $T8 %]</label> |
|
302 |
</td> |
|
303 |
<td> |
|
304 |
<input name="l_ustid" id="l_ustid" class="checkbox" type="checkbox" value="Y"> |
|
305 |
<label for="l_ustid">[% 'USt-IdNr.' | $T8 %]</label> |
|
306 |
</td> |
|
307 |
</tr> |
|
308 |
|
|
309 |
[% CT_CUSTOM_VARIABLES_INCLUSION_CODE %] |
|
310 |
|
|
311 |
</table> |
|
312 |
</td> |
|
122 |
<th>[% 'Salesman' | $T8 %]</th> |
|
123 |
<td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, class="wi-normal") %]</td> |
|
124 |
</tr> |
|
125 |
[% IF ALL_DEPARTMENTS.size %] |
|
126 |
<tr> |
|
127 |
<th>[% 'Department' | $T8 %]</th> |
|
128 |
<td>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, class="wi-normal") %]</td> |
|
313 | 129 |
</tr> |
314 |
</table> |
|
315 |
</td> |
|
316 |
</tr> |
|
130 |
[% END %] |
|
131 |
</tbody> |
|
317 | 132 |
</table> |
318 | 133 |
|
134 |
</div><!-- /.wrapper --> |
|
135 |
|
|
136 |
|
|
137 |
<div class="wrapper form-addition control-panel"> |
|
138 |
|
|
139 |
<h3>[% 'Include in Report' | $T8 %]</h3> |
|
140 |
|
|
141 |
<div class="list col"> |
|
142 |
<h4>[% 'Numbers & IDs' | $T8 %]</h4> |
|
143 |
<div> |
|
144 |
<input name="l_[% HTML.escape(ordnrname) %]" id="l_[% HTML.escape(ordnrname) %]" type="checkbox" value="Y" checked> |
|
145 |
<label for="l_[% HTML.escape(ordnrname) %]">[% HTML.escape(ordlabel) %]</label> |
|
146 |
</div> |
|
147 |
<div> |
|
148 |
<input name="l_id" id="l_id" type="checkbox" value="Y"> |
|
149 |
<label for="l_id">[% 'ID' | $T8 %]</label> |
|
150 |
</div> |
|
151 |
<div> |
|
152 |
<input name="l_customernumber" id="l_customernumber" type="checkbox" value="Y"> |
|
153 |
<label for="l_customernumber">[% 'Customer Number' | $T8 %]</label> |
|
154 |
</div> |
|
155 |
<div> |
|
156 |
<input name="l_globalprojectnumber" id="l_globalprojectnumber" type="checkbox" value="Y"> |
|
157 |
<label for="l_globalprojectnumber">[% 'Project Number' | $T8 %]</label> |
|
158 |
</div> |
|
159 |
[% IF is_order %] |
|
160 |
<div> |
|
161 |
<input name="l_cusordnumber" id="l_cusordnumber" type="checkbox" value="Y" checked> |
|
162 |
<label for="l_cusordnumber">[% LxERP.t8("Customer Order Number") %]</label> |
|
163 |
</div> |
|
164 |
[% END %] |
|
165 |
</div> |
|
166 |
<div class="list col"> |
|
167 |
<h4>[% 'State' | $T8 %]</h4> |
|
168 |
<div> |
|
169 |
<input type="checkbox" name="open" value="1" id="open" checked> |
|
170 |
<label for="open">[% 'Open' | $T8 %]</label> |
|
171 |
</div> |
|
172 |
<div> |
|
173 |
<input type="checkbox" name="closed" value="1" id="closed"> |
|
174 |
<label for="closed">[% 'Closed' | $T8 %]</label> |
|
175 |
</div> |
|
176 |
<div> |
|
177 |
<h4> [% 'Handling' | $T8 %] </h4> |
|
178 |
</div> |
|
179 |
<div> |
|
180 |
<input name="l_employee" id="l_employee" type="checkbox" value="Y" checked> |
|
181 |
<label for="l_employee">[% 'Employee' | $T8 %]</label> |
|
182 |
</div> |
|
183 |
[% IF type == 'sales_order' %] |
|
184 |
<div> |
|
185 |
<input name="l_insertdate" id="l_insertdate" type="checkbox" value="Y"> |
|
186 |
<label for="l_insertdate">[% 'Insert Date' | $T8 %]</label> |
|
187 |
</div> |
|
188 |
[% END %] |
|
189 |
<div> |
|
190 |
<input name="l_salesman" id="l_salesman" type="checkbox" value="Y"> |
|
191 |
<label for="l_salesman">[% 'Salesman' | $T8 %]</label> |
|
192 |
</div></div> |
|
193 |
|
|
194 |
<div class="list col"> |
|
195 |
<h4>[% 'Amounts' | $T8 %]</h4> |
|
196 |
<div> |
|
197 |
<input name="l_amount" id="l_amount" type="checkbox" value="Y" checked> |
|
198 |
<label for="l_amount">[% 'Total' | $T8 %]</label> |
|
199 |
</div> |
|
200 |
<div> |
|
201 |
<input name="l_marge_total" id="l_marge_total" type="checkbox" value="Y"> |
|
202 |
<label for="l_marge_total">[% 'Ertrag' | $T8 %]</label> |
|
203 |
</div> |
|
204 |
<div> |
|
205 |
<input name="l_marge_percent" id="l_marge_percent" type="checkbox" value="Y"> |
|
206 |
<label for="l_marge_percent">[% 'Ertrag prozentual' | $T8 %]</label> |
|
207 |
</div> |
|
208 |
<div> |
|
209 |
<input name="l_netamount" id="l_netamount" type="checkbox" value="Y"> |
|
210 |
<label for="l_netamount">[% 'Amount' | $T8 %]</label> |
|
211 |
</div> |
|
212 |
<div> |
|
213 |
<input name="l_subtotal" id="l_subtotal" type="checkbox" value="Y"> |
|
214 |
<label for="l_subtotal">[% 'Subtotal' | $T8 %]</label> |
|
215 |
</div> |
|
216 |
<div> |
|
217 |
<input name="l_remaining_amount" id="l_remaining_amount" type="checkbox" value="Y"> |
|
218 |
<label for="l_remaining_amount">[% 'Remaining Amount' | $T8 %]</label> |
|
219 |
</div> |
|
220 |
<div> |
|
221 |
<input name="l_remaining_netamount" id="l_remaining_netamount" type="checkbox" value="Y"> |
|
222 |
<label for="l_remaining_netamount">[% 'Remaining Net Amount' | $T8 %]</label> |
|
223 |
</div> |
|
224 |
</div> |
|
225 |
<div class="list col"> |
|
226 |
<h4>[% HTML.escape(vclabel) %]</h4> |
|
227 |
<div> |
|
228 |
<input name="l_name" id="l_name" type="checkbox" value="Y" checked> |
|
229 |
<label for="l_name">[% HTML.escape(vclabel) %]</label> |
|
230 |
</div> |
|
231 |
<div> |
|
232 |
<input name="l_vcnumber" id="l_vcnumber" type="checkbox" value="Y"> |
|
233 |
<label for="l_vcnumber">[% HTML.escape(vcnumberlabel) %]</label> |
|
234 |
</div> |
|
235 |
<div> |
|
236 |
<input name="l_country" id="l_country" type="checkbox" value="Y"> |
|
237 |
<label for="l_country">[% 'Country' | $T8 %]</label> |
|
238 |
</div> |
|
239 |
<div> |
|
240 |
<input name="l_ustid" id="l_ustid" type="checkbox" value="Y"> |
|
241 |
<label for="l_ustid">[% 'USt-IdNr.' | $T8 %]</label> |
|
242 |
</div> |
|
243 |
</div> |
|
244 |
<div class="list col"> |
|
245 |
<h4>[% 'Taxes' | $T8 %]</h4> |
|
246 |
<div> |
|
247 |
<input name="l_tax" id="l_tax" type="checkbox" value="Y"> |
|
248 |
<label for="l_tax"> [% 'Tax' | $T8 %] </label> |
|
249 |
</div> |
|
250 |
<div> |
|
251 |
[% L.checkbox_tag('l_taxzone', label => LxERP.t8('Steuersatz')) %] |
|
252 |
</div> |
|
253 |
<div> |
|
254 |
<h4>[% 'Date' | $T8 %]</h4> |
|
255 |
</div> |
|
256 |
<div> |
|
257 |
<input name="l_transdate" id="l_transdate" type="checkbox" value="Y" checked> |
|
258 |
<label for="l_transdate"> [% 'Date' | $T8 %] </label> |
|
259 |
</div> |
|
260 |
<div> |
|
261 |
<input name="l_reqdate" id="l_reqdate" type="checkbox" value="Y" checked> |
|
262 |
<label for="l_reqdate"> [% IF is_order %][% 'Required by' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] </label> |
|
263 |
</div> |
|
264 |
</div> |
|
265 |
<div class="list col"> |
|
266 |
<h4>Order info</h4> |
|
267 |
[% IF type == 'sales_order' OR type == 'purchase_order' %] |
|
268 |
<div> |
|
269 |
<input name="notdelivered" id="notdelivered" type="checkbox" value="1" checked> |
|
270 |
<label for="notdelivered">[% 'Not delivered' | $T8 %]</label> |
|
271 |
</div> |
|
272 |
<div> |
|
273 |
<input name="delivered" id="delivered" type="checkbox" value="1" checked> |
|
274 |
<label for="delivered">[% 'Delivery Order(s) for full qty created' | $T8 %]</label> |
|
275 |
</div> |
|
276 |
[% END %] [% IF type == 'sales_order' %] |
|
277 |
<div> |
|
278 |
[% L.checkbox_tag("periodic_invoices_active", label => LxERP.t8("Periodic invoices active")) %] |
|
279 |
</div> |
|
280 |
<div> |
|
281 |
[% L.checkbox_tag("periodic_invoices_inactive", label => LxERP.t8("Periodic invoices inactive")) %] |
|
282 |
</div> |
|
283 |
[% END %] |
|
284 |
<div> |
|
285 |
<input name="l_shipvia" id="l_shipvia" type="checkbox" value="Y"> |
|
286 |
<label for="l_shipvia"> [% 'Ship via' | $T8 %] </label> |
|
287 |
</div> |
|
288 |
<div> |
|
289 |
[% L.checkbox_tag('l_shippingpoint', label => LxERP.t8('Shipping Point')) %] |
|
290 |
</div> |
|
291 |
<div> |
|
292 |
<input name="l_payment_terms" id="l_payment_terms" type="checkbox" value="Y"> |
|
293 |
<label for="l_payment_terms">[% 'Payment Terms' | $T8 %]</label> |
|
294 |
</div> |
|
295 |
<div> |
|
296 |
<input name="l_transaction_description" id="l_transaction_description" type="checkbox" value="Y" [% IF INSTANCE_CONF.get_require_transaction_description_ps %] checked[% END %]> |
|
297 |
<label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label> |
|
298 |
</div> |
|
299 |
[% IF type == 'sales_quotation' %] |
|
300 |
<div> |
|
301 |
<input name="l_order_probability_expected_billing_date" id="l_order_probability_expected_billing_date" type="checkbox" value="Y"> |
|
302 |
<label for="l_order_probability_expected_billing_date"> [% 'Order probability & expected billing date' | $T8 %] </label> |
|
303 |
</div> |
|
304 |
[% END %] |
|
305 |
</div> |
|
306 |
<div class="list col"> |
|
307 |
<h4>Custom Variables</h4><!-- PENDENT: Perl-Code anpassen (es werden keine DIVs gesetzt) --> |
|
308 |
[% CT_CUSTOM_VARIABLES_INCLUSION_CODE %] |
|
309 |
</div> |
|
310 |
|
|
311 |
|
|
312 |
</div> |
|
313 |
|
|
319 | 314 |
<input type="hidden" name="vc" value="[% HTML.escape(vc) %]"> |
320 | 315 |
<input type="hidden" name="type" value="[% HTML.escape(type) %]"> |
321 | 316 |
<input type="hidden" name="action" value="orders"> |
Auch abrufbar als: Unified diff
Neues kivitendo Design Aenderungen in templates/webpages/oe/..