Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d25334c6

Von Hans Peter Schlaepfer vor mehr als 6 Jahren hinzugefügt

  • ID d25334c6f26a49abac9707a54e5b987bd587d96e
  • Vorgänger e7c11f83
  • Nachfolger 3740d9a0

Aenderungen hpschlaepfer

Unterschiede anzeigen:

templates/webpages/oe/search.html
1
[%- USE T8 %]
2
[%- USE HTML %]
3
[%- USE LxERP %]
4
[%- USE L %]
5
[%- USE P -%]
1
[% USE T8 %]
2
[% USE HTML %]
3
[% USE LxERP %]
4
[% USE L %]
5
[% USE P %]
6 6

  
7 7
<h1>[% HTML.escape(title) %]</h1>
8 8

  
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" %]
14

  
15
<div class="cols">
16

  
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" %]
17 14

  
18 15
<form method="post" action="oe.pl" id="form">
19 16

  
20
  <table class="tbl-horizontal col test">
21
   <caption>[% HTML.escape(vclabel) %]</caption>
22
   <tbody>
23
    <tr>
24
     <th>[% HTML.escape(vclabel) %]</th>
25
     <td>[% L.input_tag(vc, $vcdefault, class="initial_focus wi-normal") %]</td>
26
    </tr>
27
    <tr>
28
     <th>[% 'Contact Person' | $T8 %]</th>
29
     <td>[% L.input_tag("cp_name", '', class="wi-normal") %]</td>
30
    </tr>
31
[%- IF ALL_DEPARTMENTS.size %]
32
    <tr>
33
     <th>[% 'Department' | $T8 %]</th>
34
     <td colspan="3">[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, class="wi-normal") %]</td>
35
    </tr>
36
[%- END %]
37
[%- UNLESS ALL_BUSINESS_TYPES.size == 0 %]
38
    <tr>
39
     <th>[% vctypelabel %]</th>
40
     <td>
41
      [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, class="wi-normal") %]
42
     </td>
43
    </tr>
44
[%- END %]
45

  
46
  </tbody>
47
  </table>
48
	<table class="tbl-horizontal col">
49
		<caption>[% 'Request Quotation' | $T8 %]</caption>
50
		<tbody>  
51

  
52
    <tr>
53
     <th>[% HTML.escape(ordlabel) %]</th>
54
     <td>[% L.input_tag(ordnrname, "", class="wi-normal") %]</td>
55
    </tr>
56
[% IF is_order %]
57
    <tr>
58
     <th>[% LxERP.t8("Customer Order Number") %]</th>
59
     <td>[% L.input_tag("cusordnumber", '', class="wi-normal") %]</td>
60
    </tr>
61
[% END %]
62
    <tr>
63
     <th>[% 'Steuersatz' | $T8 %]</th>
64
     <td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', class="wi-normal") %]</td>
65
    </tr>
66
    <tr>
67
     <th>[% 'Shipping Point' | $T8 %]</th>
68
     <td>[% L.input_tag('shippingpoint', '', class="wi-normal") %]</td>
69
    </tr>
70
    <tr>
71
     <th>[% 'Transaction description' | $T8 %]</th>
72
     <td>[% L.input_tag("transaction_description", "", class="wi-normal") %]</td>
73

  
74
    </tr>
75
    <tr>
76
     <th>[% 'Project' | $T8 %]</th>
77
     <td>[% P.project_picker("project_id", '', class="wi-normal") %]</td>
78
    </tr>
79
    <tr>
80
     <th>[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th>
81
     <td>
82
       [% L.date_tag('transdatefrom','', class='wi-date') %]
83
       [% 'Bis' | $T8 %]
84
      [% L.date_tag('transdateto','', class='wi-date') %]
85
     </td>
86
    </tr>
87
    <tr>
88
     <th>[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th>
89
     <td>
90
       [% L.date_tag('reqdatefrom','', class='wi-date') %]
91
       [% 'Bis' | $T8 %]
92
       [% L.date_tag('reqdateto','', class='wi-date') %]
93
     </td>
94
    </tr>
95

  
96
    [%- IF type == 'sales_order' %]
97
    <tr>
98
     <th>[% 'Insert Date' | $T8 %] [% 'From' | $T8 %]</th>
99
     <td>
100
       [% L.date_tag('insertdatefrom', class="date") %]
101
       [% 'Bis' | $T8 %]
102
       [% L.date_tag('insertdateto') %]
103
     </td>
104
    </tr>
105
    [%- END %]
106

  
107
[%- IF type == 'sales_quotation' %]
108
    <tr>
109
     <th>[% 'Expected billing date' | $T8 %] [% 'From' | $T8 %]</th>
110
     <td>
111
      [% L.date_tag('expected_billing_date_from', '' 'BL') %]
112
      [% 'Bis' | $T8 %]
113
      [% L.date_tag('expected_billing_date_to', '' 'BL') %]
114
     </td>
115
    </tr>
116
    <tr>
117
     <th>[% 'Order probability' | $T8 %]</th>
118
     <td>
119
      [% L.select_tag('order_probability_op', [[ 'ge', '>=' ], [ 'le', '<=' ]]) %]
120
      [% L.select_tag('order_probability_value', ORDER_PROBABILITIES, title='title', with_empty=1) %]
121
     </td>
122
    </tr>
123
[%- END %]
124

  
125
[%- IF CT_CUSTOM_VARIABLES.size %]
126
    <tr>
127
      <td></td>
128
      <td>[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</td>
129
    </tr>
130
    [% CT_CUSTOM_VARIABLES_FILTER_CODE %]
131
[%- END %]
132

  
133
  </tbody>
134
  </table>
17
<div class="wrapper">
18

  
19
 
20
<table class="tbl-horizontal">
21
	<caption>[% HTML.escape(vclabel) %]</caption>
22
	<tbody>
23
		<tr>
24
			<th>[% HTML.escape(vclabel) %]</th>
25
			<td>[% L.input_tag(vc, $vcdefault, class="initial_focus wi-normal") %]</td>
26
		</tr>
27
		<tr>
28
			<th>[% 'Contact Person' | $T8 %]</th>
29
			<td>[% L.input_tag("cp_name", '', class="wi-normal") %]</td>
30
		</tr>
31
		[% UNLESS ALL_BUSINESS_TYPES.size == 0 %] 
32
		<tr>
33
			<th>[% vctypelabel %]</th>
34
			<td> [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, class="wi-normal") %]</td>
35
		</tr>
36
		[% END %] 
37
	</tbody>
38
</table>
135 39
  
136 40
  
137
	<table class="tbl-horizontal col test">
138
		<caption>[% 'Article' | $T8 %]</caption>
139
		<tbody>  
140

  
141
    <tr>
142
      <th>[% 'Part Description' | $T8 %]</th>
143
      <td>[% L.input_tag("parts_description", "", class="wi-normal") %]</td>
144
    </tr>
145
    <tr>
146
      <th>[% 'Part Number' | $T8 %]</th>
147
      <td>[% L.input_tag("parts_partnumber", "", class="wi-normal") %]</td>
148
    </tr>
149
    <tr>
150
      <th class="caption" colspan="2"> [% 'Handling' | $T8 %] </th>
151
    </tr>
152
    <tr>
153
     <th>[% 'Employee' | $T8 %]</th>
154
     <td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, class="wi-normal") %]</td>
155
    </tr>
156
    <tr>
157
     <th>[% 'Salesman' | $T8 %]</th>
158
     <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, class="wi-normal") %]</td>
159
    </tr>
160

  
161

  
162

  
163
   </table>
164
</div>
165

  
166

  
167
<div class="cols">
168
<h3>[% 'Include in Report' | $T8 %]</h3>
169

  
170

  
171
<table class="tbl-plain col">
172
<caption>[% 'Numbers & IDs' | $T8 %]</caption>
173
<tbody>
174

  
175
      <tr>
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
      </tr>
181
       <tr>
182
        <td>
183
         <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
184
         <label for="l_id">[% 'ID' | $T8 %]</label>
185
        </td>
186
      </tr>
187
       <tr>
188
        <td>
189
         <input name="l_customernumber" id="l_customernumber" class="checkbox" type="checkbox" value="Y">
190
         <label for="l_customernumber">[% 'Customer Number' | $T8 %]</label>
191
        </td>
192
       </tr>
193
       <tr>
194
        <td>
195
         <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
196
         <label for="l_globalprojectnumber">[% 'Project Number' | $T8 %]</label>
197
        </td>
198
      </tr>
199
[% IF is_order %]
200
      <tr>
201
        <td>
202
         <input name="l_cusordnumber" id="l_cusordnumber" class="checkbox" type="checkbox" value="Y" checked>
203
         <label for="l_cusordnumber">[% LxERP.t8("Customer Order Number") %]</label>
204
        </td>
205
      </tr>
206
[% END %]
207

  
208

  
209
</tbody>
210
</table>
211

  
212

  
213
<table class="tbl-plain col">
214
<caption>[% 'State' | $T8 %]</caption>
215
<tbody>
216

  
217
       <tr>
218
        <td>
219
         <input type="checkbox" name="open" value="1" id="open" checked>
220
         <label for="open">[% 'Open' | $T8 %]</label>
221
        </td>
222
      </tr>
223
      <tr>
224
        <td>
225
         <input type="checkbox" name="closed" value="1" id="closed">
226
         <label for="closed">[% 'Closed' | $T8 %]</label>
227
        </td>
228
       </tr>
229
<tr><th class="caption" colspan="2"> [% 'Handling' | $T8 %] </th></tr>
230
      <tr>
231
        <td>
232
         <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
233
         <label for="l_employee">[% 'Employee' | $T8 %]</label>
234
        </td>
235
      </tr>
236
        [%- IF type == 'sales_order' %]
41
<table class="tbl-horizontal">
42
	<caption>[% 'Request Quotation' | $T8 %]</caption>
43
  <colgroup> <col class="wi-mediumsmall"><col class="wi-wide"> </colgroup> 
44
	<tbody>
45
		<tr>
46
			<th>[% HTML.escape(ordlabel) %]</th>
47
			<td>[% L.input_tag(ordnrname, "", class="wi-lightwide") %]</td>
48
		</tr>
49
		[% IF is_order %]
50
		<tr>
51
			<th>[% LxERP.t8("Customer Order Number") %]</th>
52
			<td>[% L.input_tag("cusordnumber", '', class="wi-lightwide") %]</td>
53
		</tr>
54
		[% END %]
55
		<tr>
56
			<th>[% 'Steuersatz' | $T8 %]</th>
57
			<td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', class="wi-lightwide") %]</td>
58
		</tr>
59
		<tr>
60
			<th>[% 'Shipping Point' | $T8 %]</th>
61
			<td>[% L.input_tag('shippingpoint', '', class="wi-lightwide") %]</td>
62
		</tr>
63
		<tr>
64
			<th>[% 'Transaction description' | $T8 %]</th>
65
			<td>[% L.input_tag("transaction_description", "", class="wi-lightwide") %]</td>
66
		</tr>
67
		<tr>
68
			<th>[% 'Project' | $T8 %]</th>
69
			<td>[% P.project_picker("project_id", '', class="wi-lightwide") %]</td>
70
		</tr>
71
		<tr>
72
			<th>[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th>
73
			<td>[% L.date_tag('transdatefrom','', class='wi-date') %] [% 'Bis' | $T8 %] [% L.date_tag('transdateto','', class='wi-date') %]</td>
74
		</tr>
75
		<tr>
76
			<th>[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th>
77
			<td>[% L.date_tag('reqdatefrom','', class='wi-date') %] [% 'Bis' | $T8 %] [% L.date_tag('reqdateto','', class='wi-date') %]</td>
78
		</tr>
79
		[% IF type == 'sales_order' %]
80
		<tr>
81
			<th>[% 'Insert Date' | $T8 %] [% 'From' | $T8 %]</th>
82
			<td>[% L.date_tag('insertdatefrom','', class='wi-date') %] [% 'Bis' | $T8 %] [% L.date_tag('insertdateto','', class='wi-date') %]</td>
83
		</tr>
84
		[% END %] 
85
		[% IF type == 'sales_quotation' %]
86
		<tr>
87
			<th>[% 'Expected billing date' | $T8 %] [% 'From' | $T8 %]</th>
88
			<td>[% L.date_tag('expected_billing_date_from', '') %] [% 'Bis' | $T8 %] [% L.date_tag('expected_billing_date_to', '') %]</td><!-- PENDENT: Aufruf L.date_tag mit "'', 'BL'" unklar, siehe alte Templates -->
89
		</tr>
90
		<tr>
91
			<th>[% 'Order probability' | $T8 %]</th>
92
			<td>[% L.select_tag('order_probability_op', [[ 'ge', '>=' ], [ 'le', '<=' ]]) %] [% L.select_tag('order_probability_value', ORDER_PROBABILITIES, title='title', with_empty=1) %]</td>
93
		</tr>
94
		[% END %] 
95
		[% IF CT_CUSTOM_VARIABLES.size %]
237 96
      <tr>
238
        <td>
239
          <input name="l_insertdate" id="l_insertdate" class="checkbox" type="checkbox" value="Y">
240
          <label for="l_insertdate">[% 'Insert Date' | $T8 %]</label>
241
        </td>
97
        <th class="caption" colspan="2">[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</th>
242 98
      </tr>
243
        [%- END %]
244
      <tr>
245
        <td>
246
         <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
247
         <label for="l_salesman">[% 'Salesman' | $T8 %]</label>
248
        </td>
249
       </tr>
250

  
251
</tbody>
99
      [% CT_CUSTOM_VARIABLES_FILTER_CODE %] 
100
		[% END %]
101
	</tbody>
252 102
</table>
253

  
254

  
255
<table class="tbl-plain col">
256
<caption>[% 'Amounts' | $T8 %]</caption>
257
<tbody>
258

  
259
      <tr>
260
        <td>
261
         <input name="l_amount" id="l_amount" class="checkbox" type="checkbox" value="Y" checked>
262
         <label for="l_amount">[% 'Total' | $T8 %]</label>
263
        </td>
264
       </tr>
265
       <tr>
266
        <td>
267
         <input name="l_marge_total" id="l_marge_total" class="checkbox" type="checkbox" value="Y">
268
         <label for="l_marge_total">[% 'Ertrag' | $T8 %]</label>
269
        </td>
270
      </tr>
271
      <tr>
272
        <td>
273
         <input name="l_marge_percent" id="l_marge_percent" class="checkbox" type="checkbox" value="Y">
274
         <label for="l_marge_percent">[% 'Ertrag prozentual' | $T8 %]</label>
275
        </td>
276
      </tr>
277
       <tr>
278
        <td>
279
         <input name="l_netamount" id="l_netamount" class="checkbox" type="checkbox" value="Y">
280
         <label for="l_netamount">[% 'Amount' | $T8 %]</label>
281
        </td>
282
      </tr>
283
       <tr>
284
        <td>
285
         <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
286
         <label for="l_subtotal">[% 'Subtotal' | $T8 %]</label>
287
        </td>
288
      </tr>
289
       <tr>
290
        <td>
291
         <input name="l_remaining_amount" id="l_remaining_amount" class="checkbox" type="checkbox" value="Y">
292
         <label for="l_remaining_amount">[% 'Remaining Amount' | $T8 %]</label>
293
        </td>
294
      </tr>
295
      <tr>
296
        <td>
297
         <input name="l_remaining_netamount" id="l_remaining_netamount" class="checkbox" type="checkbox" value="Y">
298
         <label for="l_remaining_netamount">[% 'Remaining Net Amount' | $T8 %]</label>
299
        </td>
300
       </tr>
301

  
302

  
303
</tbody>
304
</table>
305

  
306

  
307

  
308

  
309

  
310
<table class="tbl-plain col">
311
<caption>[% HTML.escape(vclabel) %]</caption>
312
<tbody>
313
      <tr>
314
        <td>
315
         <input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
316
         <label for="l_name">[% HTML.escape(vclabel) %]
317
        </td>
318
      </tr>
319
       <tr>
320
        <td>
321
         <input name="l_vcnumber" id="l_vcnumber" class="checkbox" type="checkbox" value="Y">
322
         <label for="l_vcnumber">[% HTML.escape(vcnumberlabel) %]</label>
323
        </td>
324
      </tr>
325
      <tr>
326
        <td>
327
         <input name="l_country" id="l_country" class="checkbox" type="checkbox" value="Y">
328
         <label for="l_country">[% 'Country' | $T8 %]</label>
329
        </td>
330
      </tr>
331
      <tr>
332
        <td>
333
         <input name="l_ustid"  id="l_ustid" class="checkbox" type="checkbox" value="Y">
334
         <label for="l_ustid">[% 'USt-IdNr.' | $T8 %]</label>
335
        </td>
336
       </tr>
337

  
338

  
339
</tbody>
340
</table>
341

  
342

  
343

  
344

  
345

  
346
<table class="tbl-plain col">
347
<caption>[% 'Taxes' | $T8 %]</caption>
348
<tbody>
349

  
350
      <tr>
351
        <td>
352
         <input name="l_tax" id="l_tax" class="checkbox" type="checkbox" value="Y">
353
         <label for="l_tax">[% 'Tax' | $T8 %]</label>
354
        </td>
355
      </tr>
356
       <tr>
357
        <td>
358
          [%- L.checkbox_tag('l_taxzone', label => LxERP.t8('Steuersatz')) %]
359
        </td>
360
       </tr>
361
<tr><th class="caption" colspan="2"> [% 'Date' | $T8 %] </th></tr>
362
       <tr>
363
        <td>
364
         <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
365
         <label for="l_transdate">[% 'Date' | $T8 %]</label>
366
        </td>
367
      </tr>
368
      <tr>
369
        <td>
370
         <input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
371
         <label for="l_reqdate">[% IF is_order %][% 'Required by' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %]</label>
372
        </td>
373
      </tr>
374
[% IF type == 'sales_quotation' %]
375
       <tr>
376
        <td>
377
         <input name="l_order_probability_expected_billing_date" id="l_order_probability_expected_billing_date" class="checkbox" type="checkbox" value="Y">
378
         <label for="l_order_probability_expected_billing_date">[% 'Order probability &amp; expected billing date' | $T8 %]</label>
379
        </td>
380
       </tr>
381
[%- END %]
382

  
383
</tbody>
103
  
104
 
105
<table class="tbl-horizontal">
106
	<caption>[% 'Article' | $T8 %]</caption>
107
	<tbody>
108
		<tr>
109
			<th>[% 'Part Description' | $T8 %]</th>
110
			<td>[% L.input_tag("parts_description", "", class="wi-normal") %]</td>
111
		</tr>
112
		<tr>
113
			<th>[% 'Part Number' | $T8 %]</th>
114
			<td>[% L.input_tag("parts_partnumber", "", class="wi-normal") %]</td>
115
		</tr>
116
		<tr>
117
			<th class="caption" colspan="2"> [% 'Handling' | $T8 %] </th>
118
		</tr>
119
		<tr>
120
			<th>[% 'Employee' | $T8 %]</th>
121
			<td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, class="wi-normal") %]</td>
122
		</tr>
123
		<tr>
124
			<th>[% 'Salesman' | $T8 %]</th>
125
			<td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, class="wi-normal") %]</td>
126
		</tr>
127
		[% IF ALL_DEPARTMENTS.size %] 
128
		<tr>
129
			<th>[% 'Department' | $T8 %]</th>
130
			<td>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, class="wi-normal") %]</td>
131
		</tr>
132
		[% END %] 
133
	</tbody>
384 134
</table>
385 135

  
136
</div><!-- /.wrapper -->
386 137

  
387 138

  
139
<div class="wrapper form-addition">
388 140

  
141
<h3>[% 'Include in Report' | $T8 %]</h3>
389 142

  
143
<div class="list col">
144
	<h4>[% 'Numbers & IDs' | $T8 %]</h4>
145
	<div>
146
		<input name="l_[% HTML.escape(ordnrname) %]" id="l_[% HTML.escape(ordnrname) %]" type="checkbox" value="Y" checked>
147
		<label for="l_[% HTML.escape(ordnrname) %]">[% HTML.escape(ordlabel) %]</label>
148
	</div>
149
	<div>
150
		<input name="l_id" id="l_id" type="checkbox" value="Y">
151
		<label for="l_id">[% 'ID' | $T8 %]</label>
152
	</div>
153
	<div>
154
		<input name="l_customernumber" id="l_customernumber" type="checkbox" value="Y">
155
		<label for="l_customernumber">[% 'Customer Number' | $T8 %]</label>
156
	</div>
157
	<div>
158
		<input name="l_globalprojectnumber" id="l_globalprojectnumber" type="checkbox" value="Y">
159
		<label for="l_globalprojectnumber">[% 'Project Number' | $T8 %]</label>
160
	</div>
161
	[% IF is_order %] 
162
	<div>
163
		<input name="l_cusordnumber" id="l_cusordnumber" type="checkbox" value="Y" checked>
164
		<label for="l_cusordnumber">[% LxERP.t8("Customer Order Number") %]</label>
165
	</div>
166
	[% END %] 
167
</div>
168
<div class="list col">
169
	<h4>[% 'State' | $T8 %]</h4>
170
	<div>
171
		<input type="checkbox" name="open" value="1" id="open" checked>
172
		<label for="open">[% 'Open' | $T8 %]</label>
173
	</div>
174
	<div>
175
		<input type="checkbox" name="closed" value="1" id="closed">
176
		<label for="closed">[% 'Closed' | $T8 %]</label>
177
	</div>
178
	<h4> [% 'Handling' | $T8 %] </h4>
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>
193
</div>
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
	[% IF type == 'sales_quotation' %] 
265
	<div>
266
		<input name="l_order_probability_expected_billing_date" id="l_order_probability_expected_billing_date" type="checkbox" value="Y">
267
		<label for="l_order_probability_expected_billing_date"> [% 'Order probability &amp; expected billing date' | $T8 %] </label>
268
	</div>
269
	[% END %] 
270
</div>
271
<div class="list col">
272
	<h4>Order info</h4>
273
	[% IF type == 'sales_order' OR type == 'purchase_order' %] 
274
	<div>
275
		<input name="notdelivered" id="notdelivered" type="checkbox" value="1" checked>
276
		<label for="notdelivered">[% 'Not delivered' | $T8 %]</label>
277
	</div>
278
	<div>
279
		<input name="delivered" id="delivered" type="checkbox" value="1" checked>
280
		<label for="delivered">[% 'Delivery Order(s) for full qty created' | $T8 %]</label>
281
	</div>
282
	[% END %] [% IF type == 'sales_order' %] 
283
	<div>
284
		[% L.checkbox_tag("periodic_invoices_active", label => LxERP.t8("Periodic invoices active")) %] 
285
	</div>
286
	<div>
287
		[% L.checkbox_tag("periodic_invoices_inactive", label => LxERP.t8("Periodic invoices inactive")) %] 
288
	</div>
289
	[% END %] 
290
	<div>
291
		<input name="l_shipvia" id="l_shipvia" type="checkbox" value="Y">
292
		<label for="l_shipvia"> [% 'Ship via' | $T8 %] </label>
293
	</div>
294
	<div>
295
		[% L.checkbox_tag('l_shippingpoint', label => LxERP.t8('Shipping Point')) %] 
296
	</div>
297
	<div>
298
		<input name="l_payment_terms" id="l_payment_terms" type="checkbox" value="Y">
299
		<label for="l_payment_terms">[% 'Payment Terms' | $T8 %]</label>
300
	</div>
301
	<div>
302
		<input name="l_transaction_description" id="l_transaction_description" type="checkbox" value="Y" [% IF INSTANCE_CONF.get_require_transaction_description_ps %] checked[% END %]>
303
		<label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label>
304
	</div>
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>
390 310

  
391 311

  
392

  
393

  
394

  
395

  
396
      <table class="tbl-plain col">
397
      <caption>Order info</caption>
398
      <tbody>
399
      
400
[%- IF type == 'sales_order' OR type == 'purchase_order' %]
401
       <tr>
402
        <td>
403
         <input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
404
         <label for="notdelivered">[% 'Not delivered' | $T8 %]</label>
405
        </td>
406
      </tr>
407
      <tr>
408
        <td>
409
         <input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
410
         <label for="delivered">[% 'Delivery Order(s) for full qty created' | $T8 %]</label>
411
        </td>
412
       </tr>
413
[%- END %]
414
[%- IF type == 'sales_order' %]
415
       <tr>
416
        <td>
417
         [% L.checkbox_tag("periodic_invoices_active", label => LxERP.t8("Periodic invoices active")) %]
418
        </td>
419
      </tr>
420
      <tr>
421
        <td>
422
         [% L.checkbox_tag("periodic_invoices_inactive", label => LxERP.t8("Periodic invoices inactive")) %]
423
        </td>
424
       </tr>
425
[%- END %]
426
      <tr>
427
        <td>
428
         <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
429
         <label for="l_shipvia">[% 'Ship via' | $T8 %]</label>
430
        </td>
431
       </tr>
432
       <tr>
433
        <td>[%- L.checkbox_tag('l_shippingpoint', label => LxERP.t8('Shipping Point')) %]</td>
434
       </tr>
435
      <tr>
436
        <td>
437
         <input name="l_payment_terms" id="l_payment_terms" class="checkbox" type="checkbox" value="Y">
438
         <label for="l_payment_terms">[% 'Payment Terms' | $T8 %]</label>
439
        </td>
440
       </tr>
441
      <tr>
442
        <td>
443
         <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 %]>
444
         <label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label>
445
        </td>
446
       </tr>
447

  
448
      </tbody>
449
      </table>
450

  
451

  
452
      <table class="tbl-plain col">
453
      <caption>Custom Variables</caption>
454
            <tbody>
455

  
456
      [% CT_CUSTOM_VARIABLES_INCLUSION_CODE %]
457
      </tbody>
458
      </table>
459 312
</div>
460 313

  
461 314
<input type="hidden" name="vc" value="[% HTML.escape(vc) %]">

Auch abrufbar als: Unified diff