Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4885f823

Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt

  • ID 4885f8232fffc2983b8df589082f4467bf64fc3f
  • Vorgänger 08c2e30b
  • Nachfolger 4ae796dd

Neues Design 2019 Standard-Code templates/webpages/oe/

Unterschiede anzeigen:

templates/webpages/oe/search.html
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" %]
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 14

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

  
17
<table width="100%">
18
 <tr>
19
  <td>
20
   <table>
17
<div class="wrapper">
18

  
19
<table class="tbl-horizontal">
20
  <caption>[% HTML.escape(vclabel) %]</caption>
21
  <tbody>
21 22
    <tr>
22
     <th align="right">[% HTML.escape(vclabel) %]</th>
23
     <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>
24 25
    </tr>
25 26
    <tr>
26
     <th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
27
     <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>
28 29
    </tr>
29
[%- IF ALL_DEPARTMENTS.size %]
30
    [% UNLESS ALL_BUSINESS_TYPES.size == 0 %]
30 31
    <tr>
31
     <th align="right" nowrap>[% 'Department' | $T8 %]</th>
32
     <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>
33 34
    </tr>
34
[%- 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>
35 43
    <tr>
36
     <th align="right">[% HTML.escape(ordlabel) %]</th>
37
     <td>[% L.input_tag(ordnrname, "", style=style) %]</td>
44
      <th>[% HTML.escape(ordlabel) %]</th>
45
      <td>[% L.input_tag(ordnrname, "", class="wi-lightwide") %]</td>
38 46
    </tr>
39
[% IF is_order %]
47
    [% IF is_order %]
40 48
    <tr>
41
     <th align="right">[% LxERP.t8("Customer Order Number") %]</th>
42
     <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>
43 51
    </tr>
44
[% END %]
52
    [% END %]
45 53
    <tr>
46
     <th align="right">[% 'Employee' | $T8 %]</th>
47
     <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>
48 56
    </tr>
49 57
    <tr>
50
     <th align="right">[% 'Salesman' | $T8 %]</th>
51
     <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>
52 60
    </tr>
53 61
    <tr>
54
     <th align="right">[% 'Steuersatz' | $T8 %]</th>
55
     <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>
56 64
    </tr>
57 65
    <tr>
58
     <th align="right">[% 'Shipping Point' | $T8 %]</th>
59
     <td>[% L.input_tag('shippingpoint', '', style=style) %]</td>
66
      <th>[% 'Project' | $T8 %]</th>
67
      <td>[% P.project.picker("project_id", '', active="both", valid="both", class="wi-lightwide") %]</td>
60 68
    </tr>
61 69
    <tr>
62
     <th align="right">[% 'Transaction description' | $T8 %]</th>
63
     <td>[% L.input_tag("transaction_description", "", style=style) %]</td>
64
     <th align="right">[% 'Part Description' | $T8 %]</th>
65
     <td>[% L.input_tag("parts_description", "", style=style) %]</td>
70
      <th>[% 'Internal Notes' | $T8 %]</th>
71
      <td>[% L.input_tag('intnotes', '', style=style) %]</td>
66 72
    </tr>
67 73
    <tr>
68
     <th align="right">[% 'Project' | $T8 %]</th>
69
     <td>[% P.project.picker("project_id", '', active="both", valid="both", style=style) %]</td>
70
     <th align="right">[% 'Part Number' | $T8 %]</th>
71
     <td>[% L.input_tag("parts_partnumber", "", style=style) %]</td>
74
      <th>[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th>
75
      <td>[% L.date_tag('transdatefrom','', class='wi-date') %] [% 'Bis' | $T8 %] [% L.date_tag('transdateto','', class='wi-date') %]</td>
72 76
    </tr>
73
    [%- UNLESS ALL_BUSINESS_TYPES.size == 0 %]
74 77
    <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>
78
      <th>[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th>
79
      <td>[% L.date_tag('reqdatefrom','', class='wi-date') %] [% 'Bis' | $T8 %] [% L.date_tag('reqdateto','', class='wi-date') %]</td>
79 80
    </tr>
80
    [%- END %]
81
    [% IF type == 'sales_order' %]
81 82
    <tr>
82
     <th align="right">[% 'Internal Notes' | $T8 %]</th>
83
     <td>[% L.input_tag('intnotes', '', style=style) %]</td>
83
      <th>[% 'Insert Date' | $T8 %] [% 'From' | $T8 %]</th>
84
      <td>[% L.date_tag('insertdatefrom','', class='wi-date') %] [% 'Bis' | $T8 %] [% L.date_tag('insertdateto','', class='wi-date') %]</td>
84 85
    </tr>
86
    [% END %]
87
    [% IF type == 'sales_quotation' %]
85 88
    <tr>
86
     <th align="right">[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th>
87
     <td>
88
       [% L.date_tag('transdatefrom') %]
89
       [% 'Bis' | $T8 %]
90
      [% L.date_tag('transdateto') %]
91
     </td>
89
      <th>[% 'Expected billing date' | $T8 %] [% 'From' | $T8 %]</th>
90
      <td>[% L.date_tag('expected_billing_date_from', '', class='wi-date') %] [% 'Bis' | $T8 %] [% L.date_tag('expected_billing_date_to', '', class='wi-date') %]</td>
92 91
    </tr>
93 92
    <tr>
94
     <th align="right">[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th>
95
     <td>
96
       [% L.date_tag('reqdatefrom') %]
97
       [% 'Bis' | $T8 %]
98
       [% L.date_tag('reqdateto') %]
99
     </td>
93
      <th>[% 'Order probability' | $T8 %]</th>
94
      <td>[% L.select_tag('order_probability_op', [[ 'ge', '>=' ], [ 'le', '<=' ]]) %] [% L.select_tag('order_probability_value', ORDER_PROBABILITIES, title='title', with_empty=1) %]</td>
100 95
    </tr>
96
    [% END %]
97
    [% IF CT_CUSTOM_VARIABLES.size %]
98
      <tr>
99
        <th class="caption" colspan="2">[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</th>
100
      </tr>
101
      [% CT_CUSTOM_VARIABLES_FILTER_CODE %]
102
    [% END %]
103
  </tbody>
104
</table>
101 105

  
102
    [%- IF type == 'sales_order' %]
106

  
107
<table class="tbl-horizontal">
108
  <caption>[% 'Article' | $T8 %]</caption>
109
  <tbody>
103 110
    <tr>
104
     <th align="right">[% 'Insert Date' | $T8 %] [% 'From' | $T8 %]</th>
105
     <td>
106
       [% L.date_tag('insertdatefrom') %]
107
       [% 'Bis' | $T8 %]
108
       [% L.date_tag('insertdateto') %]
109
     </td>
111
      <th>[% 'Part Description' | $T8 %]</th>
112
      <td>[% L.input_tag("parts_description", "", class="wi-normal") %]</td>
110 113
    </tr>
111
    [%- END %]
112

  
113
[%- IF type == 'sales_quotation' %]
114 114
    <tr>
115
     <th align="right">[% 'Expected billing date' | $T8 %] [% 'From' | $T8 %]</th>
116
     <td>
117
      [% L.date_tag('expected_billing_date_from', '') %]
118
      [% 'Bis' | $T8 %]
119
      [% L.date_tag('expected_billing_date_to', '') %]
120
     </td>
115
      <th>[% 'Part Number' | $T8 %]</th>
116
      <td>[% L.input_tag("parts_partnumber", "", class="wi-normal") %]</td>
121 117
    </tr>
122 118
    <tr>
123
     <th align="right">[% 'Order probability' | $T8 %]</th>
124
     <td>
125
      [% L.select_tag('order_probability_op', [[ 'ge', '>=' ], [ 'le', '<=' ]]) %]
126
      [% L.select_tag('order_probability_value', ORDER_PROBABILITIES, title='title', with_empty=1) %]
127
     </td>
119
      <th class="caption" colspan="2"> [% 'Handling' | $T8 %] </th>
128 120
    </tr>
129
[%- END %]
130

  
131
[%- IF CT_CUSTOM_VARIABLES.size %]
132 121
    <tr>
133
      <td></td>
134
      <td colspan=4 align=left><b>[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</b></td>
122
      <th>[% 'Employee' | $T8 %]</th>
123
      <td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, class="wi-normal") %]</td>
135 124
    </tr>
136
    [% CT_CUSTOM_VARIABLES_FILTER_CODE %]
137
[%- END %]
125
    <tr>
126
      <th>[% 'Salesman' | $T8 %]</th>
127
      <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, class="wi-normal") %]</td>
128
    </tr>
129
    [% IF ALL_DEPARTMENTS.size %]
130
    <tr>
131
      <th>[% 'Department' | $T8 %]</th>
132
      <td>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, class="wi-normal") %]</td>
133
    </tr>
134
    [% END %]
135
  </tbody>
136
</table>
138 137

  
138
<table class="tbl-horizontal">
139
  <caption>[% 'State' | $T8 %]</caption>
140
  <tbody>
141
    <tr>
142
      <th>[% 'Open' | $T8 %]</th>
143
      <td><input type="checkbox" name="open" value="1" id="open" checked></td>
144
    </tr>
145
    <tr>
146
      <th>[% 'Closed' | $T8 %]</th>
147
      <td><input type="checkbox" name="closed" value="1" id="closed"></td>
148
    </tr>
149
    [% IF type == 'sales_order' OR type == 'purchase_order' %]
150
    <tr>
151
      <th>[% 'Not delivered' | $T8 %]</th>
152
      <td><input name="notdelivered" id="notdelivered" type="checkbox" value="1" checked></td>
153
    </tr>
154
    <tr>
155
      <th>[% 'Delivery Order(s) for full qty created' | $T8 %]</th>
156
      <td><input name="delivered" id="delivered" type="checkbox" value="1" checked></td>
157
    </tr>
158
    [% END %] [% IF type == 'sales_order' %]
159
    <tr>
160
      <th>[% 'Periodic invoices active' | $T8 %]</th>
161
      <td>[% L.checkbox_tag("periodic_invoices_active") %]</td>
162
    </tr>
139 163
    <tr>
140
     <th align="right">[% 'Include in Report' | $T8 %]</th>
141
     <td colspan="5">
142
      <table>
143
       <tr>
144
        <td>
145
         <input type="checkbox" name="open" value="1" id="open" checked>
146
         <label for="open">[% 'Open' | $T8 %]</label>
147
        </td>
148
        <td>
149
         <input type="checkbox" name="closed" value="1" id="closed">
150
         <label for="closed">[% 'Closed' | $T8 %]</label>
151
        </td>
152
       </tr>
153
[%- IF type == 'sales_order' OR type == 'purchase_order' %]
154
       <tr>
155
        <td>
156
         <input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
157
         <label for="notdelivered">[% 'Not delivered' | $T8 %]</label>
158
        </td>
159
        <td>
160
         <input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
161
         <label for="delivered">[% 'Delivery Order(s) for full qty created' | $T8 %]</label>
162
        </td>
163
       </tr>
164
[%- END %]
165
[%- IF type == 'sales_order' %]
166
       <tr>
167
        <td>
168
         [% L.checkbox_tag("periodic_invoices_active", label => LxERP.t8("Periodic invoices active")) %]
169
        </td>
170
        <td>
171
         [% L.checkbox_tag("periodic_invoices_inactive", label => LxERP.t8("Periodic invoices inactive")) %]
172
        </td>
173
       </tr>
174
[%- END %]
175
       <tr>
176
        <td>
177
         <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
178
         <label for="l_id">[% 'ID' | $T8 %]</label>
179
        </td>
180
        <td>
181
         <input name="l_[% HTML.escape(ordnrname) %]" id="l_[% HTML.escape(ordnrname) %]" class="checkbox" type="checkbox" value="Y" checked>
182
         <label for="l_[% HTML.escape(ordnrname) %]">[% HTML.escape(ordlabel) %]</label>
183
        </td>
184
[% IF is_order %]
185
        <td>
186
         <input name="l_cusordnumber" id="l_cusordnumber" class="checkbox" type="checkbox" value="Y" checked>
187
         <label for="l_cusordnumber">[% LxERP.t8("Customer Order Number") %]</label>
188
        </td>
189
[% END %]
190
       </tr>
191
       <tr>
192
        <td>
193
         <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
194
         <label for="l_transdate">[% 'Date' | $T8 %]</label>
195
        </td>
196
        <td>
197
         <input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
198
         <label for="l_reqdate">[% IF is_order %][% 'Required by' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %]</label>
199
        </td>
200
        [%- IF type == 'sales_order' %]
201
        <td>
202
          <input name="l_insertdate" id="l_insertdate" class="checkbox" type="checkbox" value="Y">
203
          <label for="l_insertdate">[% 'Insert Date' | $T8 %]</label>
204
        </td>
205
        [%- END %]
206
       </tr>
207
       <tr>
208
        <td>
209
         <input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
210
         <label for="l_name">[% HTML.escape(vclabel) %]</label>
211
        </td>
212
        <td>
213
         <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
214
         <label for="l_employee">[% 'Employee' | $T8 %]</label>
215
        </td>
216
        <td>
217
         <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
218
         <label for="l_shipvia">[% 'Ship via' | $T8 %]</label>
219
        </td>
220
       </tr>
221
       <tr>
222
        <td>
223
         <input name="l_customernumber" id="l_customernumber" class="checkbox" type="checkbox" value="Y">
224
         <label for="l_customernumber">[% 'Customer Number' | $T8 %]</label>
225
        </td>
226
        <td>[%- L.checkbox_tag('l_taxzone',       label => LxERP.t8('Steuersatz'))     %]</td>
227
        <td>[%- L.checkbox_tag('l_shippingpoint', label => LxERP.t8('Shipping Point')) %]</td>
228
       </tr>
229
       <tr>
230
        <td>
231
         <input name="l_netamount" id="l_netamount" class="checkbox" type="checkbox" value="Y">
232
         <label for="l_netamount">[% 'Amount' | $T8 %]</label>
233
        </td>
234
        <td>
235
         <input name="l_tax" id="l_tax" class="checkbox" type="checkbox" value="Y">
236
         <label for="l_tax">[% 'Tax' | $T8 %]</label>
237
        </td>
238
        <td>
239
         <input name="l_amount" id="l_amount" class="checkbox" type="checkbox" value="Y" checked>
240
         <label for="l_amount">[% 'Total' | $T8 %]</label>
241
        </td>
242
       </tr>
243
       <tr>
244
        <td>
245
         <input name="l_marge_total" id="l_marge_total" class="checkbox" type="checkbox" value="Y">
246
         <label for="l_marge_total">[% 'Ertrag' | $T8 %]</label>
247
        </td>
248
        <td>
249
         <input name="l_marge_percent" id="l_marge_percent" class="checkbox" type="checkbox" value="Y">
250
         <label for="l_marge_percent">[% 'Ertrag prozentual' | $T8 %]</label>
251
        </td>
252
        <td>
253
         <input name="l_payment_terms" id="l_payment_terms" class="checkbox" type="checkbox" value="Y">
254
         <label for="l_payment_terms">[% 'Payment Terms' | $T8 %]</label>
255
        </td>
256
       </tr>
257
       <tr>
258
        <td>
259
         <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
260
         <label for="l_globalprojectnumber">[% 'Project Number' | $T8 %]</label>
261
        </td>
262
        <td>
263
         <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 %]>
264
         <label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label>
265
        </td>
266
        <td>
267
         [%- L.checkbox_tag('l_department', label => LxERP.t8('Department')) %]
268
        </td>
164
      <th>[% 'Periodic invoices inactive' | $T8 %]</th>
165
      <td>[% L.checkbox_tag("periodic_invoices_inactive") %]</td>
166
    </tr>
167
    [% END %]
168
  </tbody>
169
</table>
170
</div><!-- /.wrapper -->
269 171

  
270
       </tr>
271
       <tr>
272
        <td>
273
         <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
274
         <label for="l_subtotal">[% 'Subtotal' | $T8 %]</label>
275
        </td>
276
        <td>
277
         <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
278
         <label for="l_salesman">[% 'Salesman' | $T8 %]</label>
279
        </td>
280
        <td>
281
         <input name="l_intnotes" id="l_intnotes" class="checkbox" type="checkbox" value="Y">
282
         <label for="l_intnotes">[% 'Internal Notes' | $T8 %]</label>
283
        </td>
284
       </tr>
285
[% IF type == 'sales_quotation' %]
286
       <tr>
287
        <td colspan="2">
288
         <input name="l_order_probability_expected_billing_date" id="l_order_probability_expected_billing_date" class="checkbox" type="checkbox" value="Y">
289
         <label for="l_order_probability_expected_billing_date">[% 'Order probability & expected billing date' | $T8 %]</label>
290
        </td>
291
       </tr>
292
[%- END %]
293
       <tr>
294
        <td>
295
         <input name="l_remaining_amount" id="l_remaining_amount" class="checkbox" type="checkbox" value="Y">
296
         <label for="l_remaining_amount">[% 'Remaining Amount' | $T8 %]</label>
297
        </td>
298
        <td>
299
         <input name="l_remaining_netamount" id="l_remaining_netamount" class="checkbox" type="checkbox" value="Y">
300
         <label for="l_remaining_netamount">[% 'Remaining Net Amount' | $T8 %]</label>
301
        </td>
302
       </tr>
303
       <tr>
304
        <td colspan=4 align=left><b>[% HTML.escape(vclabel) %]</b></td>
305
       </tr>
306
       <tr>
307
        <td>
308
         <input name="l_vcnumber" id="l_vcnumber" class="checkbox" type="checkbox" value="Y">
309
         <label for="l_vcnumber">[% HTML.escape(vcnumberlabel) %]</label>
310
        </td>
311
        <td>
312
         <input name="l_country" id="l_country" class="checkbox" type="checkbox" value="Y">
313
         <label for="l_country">[% 'Country' | $T8 %]</label>
314
        </td>
315
        <td>
316
         <input name="l_ustid"  id="l_ustid" class="checkbox" type="checkbox" value="Y">
317
         <label for="l_ustid">[% 'USt-IdNr.' | $T8 %]</label>
318
        </td>
319
       </tr>
320 172

  
321
      [% CT_CUSTOM_VARIABLES_INCLUSION_CODE %]
173
<div class="wrapper form-addition control-panel">
322 174

  
323
      </table>
324
     </td>
325
    </tr>
326
   </table>
327
  </td>
328
 </tr>
329
</table>
175
<h3>[% 'Include in Report' | $T8 %]</h3>
176

  
177
<div class="list col">
178
  <h4>[% 'Numbers & IDs' | $T8 %]</h4>
179
  <div>
180
    <input name="l_[% HTML.escape(ordnrname) %]" id="l_[% HTML.escape(ordnrname) %]" type="checkbox" value="Y" checked>
181
    <label for="l_[% HTML.escape(ordnrname) %]">[% HTML.escape(ordlabel) %]</label>
182
  </div>
183
  <div>
184
    <input name="l_id" id="l_id" type="checkbox" value="Y">
185
    <label for="l_id">[% 'ID' | $T8 %]</label>
186
  </div>
187
  <div>
188
    <input name="l_globalprojectnumber" id="l_globalprojectnumber" type="checkbox" value="Y">
189
    <label for="l_globalprojectnumber">[% 'Project Number' | $T8 %]</label>
190
  </div>
191
  [% IF is_order %]
192
  <div>
193
    <input name="l_cusordnumber" id="l_cusordnumber" type="checkbox" value="Y" checked>
194
    <label for="l_cusordnumber">[% LxERP.t8("Customer Order Number") %]</label>
195
  </div>
196
  [% END %]
197
</div>
198
<div class="list col">
199
  <h4> [% 'Handling' | $T8 %] </h4>
200
  <div>
201
    <input name="l_employee" id="l_employee" type="checkbox" value="Y" checked>
202
    <label for="l_employee">[% 'Employee' | $T8 %]</label>
203
  </div>
204
  <div>
205
    <input name="l_salesman" id="l_salesman" type="checkbox" value="Y">
206
    <label for="l_salesman">[% 'Salesman' | $T8 %]</label>
207
  </div>
208
  <div>
209
   <input name="l_intnotes" id="l_intnotes" class="checkbox" type="checkbox" value="Y">
210
   <label for="l_intnotes">[% 'Internal Notes' | $T8 %]</label>
211
  </div>
212
</div>
213

  
214
<div class="list col">
215
  <h4>[% 'Amounts' | $T8 %]</h4>
216
  <div>
217
    <input name="l_amount" id="l_amount" type="checkbox" value="Y" checked>
218
    <label for="l_amount">[% 'Total' | $T8 %]</label>
219
  </div>
220
  <div>
221
    <input name="l_marge_total" id="l_marge_total" type="checkbox" value="Y">
222
    <label for="l_marge_total">[% 'Ertrag' | $T8 %]</label>
223
  </div>
224
  <div>
225
    <input name="l_marge_percent" id="l_marge_percent" type="checkbox" value="Y">
226
    <label for="l_marge_percent">[% 'Ertrag prozentual' | $T8 %]</label>
227
  </div>
228
  <div>
229
    <input name="l_netamount" id="l_netamount" type="checkbox" value="Y">
230
    <label for="l_netamount">[% 'Amount' | $T8 %]</label>
231
  </div>
232
  <div>
233
    <input name="l_subtotal" id="l_subtotal" type="checkbox" value="Y">
234
    <label for="l_subtotal">[% 'Subtotal' | $T8 %]</label>
235
  </div>
236
  <div>
237
    <input name="l_remaining_amount" id="l_remaining_amount" type="checkbox" value="Y">
238
    <label for="l_remaining_amount">[% 'Remaining Amount' | $T8 %]</label>
239
  </div>
240
  <div>
241
    <input name="l_remaining_netamount" id="l_remaining_netamount" type="checkbox" value="Y">
242
    <label for="l_remaining_netamount">[% 'Remaining Net Amount' | $T8 %]</label>
243
  </div>
244
</div>
245
<div class="list col">
246
  <h4>[% HTML.escape(vclabel) %]</h4>
247
  <div>
248
    <input name="l_name" id="l_name" type="checkbox" value="Y" checked>
249
    <label for="l_name">[% HTML.escape(vclabel) %]</label>
250
  </div>
251
  <div>
252
    <input name="l_vcnumber" id="l_vcnumber" type="checkbox" value="Y">
253
    <label for="l_vcnumber">[% HTML.escape(vcnumberlabel) %]</label>
254
  </div>
255
  <div>
256
    <input name="l_country" id="l_country" type="checkbox" value="Y">
257
    <label for="l_country">[% 'Country' | $T8 %]</label>
258
  </div>
259
  <div>
260
    <input name="l_ustid" id="l_ustid" type="checkbox" value="Y">
261
    <label for="l_ustid">[% 'USt-IdNr.' | $T8 %]</label>
262
  </div>
263
</div>
264
<div class="list col">
265
  <h4>[% 'Taxes' | $T8 %]</h4>
266
  <div>
267
    <input name="l_tax" id="l_tax" type="checkbox" value="Y">
268
    <label for="l_tax"> [% 'Tax' | $T8 %] </label>
269
  </div>
270
  <div>
271
    [% L.checkbox_tag('l_taxzone', label => LxERP.t8('Steuersatz')) %]
272
  </div>
273
  <div>
274
    <h4>[% 'Date' | $T8 %]</h4>
275
  </div>
276
  <div>
277
    <input name="l_transdate" id="l_transdate" type="checkbox" value="Y" checked>
278
    <label for="l_transdate"> [% 'Date' | $T8 %] </label>
279
  </div>
280
  <div>
281
    <input name="l_reqdate" id="l_reqdate" type="checkbox" value="Y" checked>
282
    <label for="l_reqdate"> [% IF is_order %][% 'Required by' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] </label>
283
  </div>
284
  [% IF type == 'sales_order' %]
285
  <div>
286
    <input name="l_insertdate" id="l_insertdate" type="checkbox" value="Y">
287
    <label for="l_insertdate">[% 'Insert Date' | $T8 %]</label>
288
  </div>
289
  [% END %]
290
</div>
291
<div class="list col">
292
  <h4>Order info</h4>
293
  <div>
294
    <input name="l_department" id="l_department" type="checkbox" value="Y">
295
    <label for="l_department"> [% 'Department' | $T8 %] </label>
296
  </div>
297
  <div>
298
    <input name="l_shipvia" id="l_shipvia" type="checkbox" value="Y">
299
    <label for="l_shipvia"> [% 'Ship via' | $T8 %] </label>
300
  </div>
301
  <div>
302
    [% L.checkbox_tag('l_shippingpoint', label => LxERP.t8('Shipping Point')) %]
303
  </div>
304
  <div>
305
    <input name="l_payment_terms" id="l_payment_terms" type="checkbox" value="Y">
306
    <label for="l_payment_terms">[% 'Payment Terms' | $T8 %]</label>
307
  </div>
308
  <div>
309
    <input name="l_transaction_description" id="l_transaction_description" type="checkbox" value="Y" [% IF INSTANCE_CONF.get_require_transaction_description_ps %] checked[% END %]>
310
    <label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label>
311
  </div>
312
  [% IF type == 'sales_quotation' %]
313
  <div>
314
    <input name="l_order_probability_expected_billing_date" id="l_order_probability_expected_billing_date" type="checkbox" value="Y">
315
    <label for="l_order_probability_expected_billing_date"> [% 'Order probability &amp; expected billing date' | $T8 %] </label>
316
  </div>
317
  [% END %]
318
</div>
319
<div class="list col">
320
  <h4>Custom Variables</h4><!-- PENDENT: Perl-Code anpassen (es werden keine DIVs gesetzt) -->
321
  [% CT_CUSTOM_VARIABLES_INCLUSION_CODE %]
322
</div>
323

  
324

  
325
</div>
330 326

  
331 327
<input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
332 328
<input type="hidden" name="type" value="[% HTML.escape(type) %]">

Auch abrufbar als: Unified diff