Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a85900cb

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

  • ID a85900cb68a578d89090043534ae79664a4070a9
  • Vorgänger 72c4037d
  • Nachfolger e7c11f83

Preview design 4.0

Unterschiede anzeigen:

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

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

  
7 9
[%- SET vclabel = vc == 'customer' ? LxERP.t8('Customer') : LxERP.t8('Vendor') %]
......
10 12
[%- SET vcdefault = 'old' _ vc %]
11 13
[%- SET style="width: 250px" %]
12 14

  
15
<div class="cols">
16

  
17

  
13 18
<form method="post" action="oe.pl" id="form">
14 19

  
15
<table width="100%">
16
 <tr>
17
  <td>
18
   <table>
20
  <table class="tbl-horizontal col test">
21
   <caption>[% HTML.escape(vclabel) %]</caption>
22
   <tbody>
19 23
    <tr>
20
     <th align="right">[% HTML.escape(vclabel) %]</th>
21
     <td>[% L.input_tag(vc, $vcdefault, style=style, class="initial_focus") %]</td>
24
     <th>[% HTML.escape(vclabel) %]</th>
25
     <td>[% L.input_tag(vc, $vcdefault, class="initial_focus wi-normal") %]</td>
22 26
    </tr>
23 27
    <tr>
24
     <th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
25
     <td>[% L.input_tag("cp_name", '', style=style) %]</td>
28
     <th>[% 'Contact Person' | $T8 %]</th>
29
     <td>[% L.input_tag("cp_name", '', class="wi-normal") %]</td>
26 30
    </tr>
27 31
[%- IF ALL_DEPARTMENTS.size %]
28 32
    <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>
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>
31 35
    </tr>
32 36
[%- END %]
37
[%- UNLESS ALL_BUSINESS_TYPES.size == 0 %]
33 38
    <tr>
34
     <th align="right">[% HTML.escape(ordlabel) %]</th>
35
     <td>[% L.input_tag(ordnrname, "", style=style) %]</td>
36
    </tr>
37
[% IF is_order %]
38
    <tr>
39
     <th align="right">[% LxERP.t8("Customer Order Number") %]</th>
40
     <td>[% L.input_tag("cusordnumber", '', style=style) %]</td>
41
    </tr>
42
[% END %]
43
    <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>
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>
46 43
    </tr>
44
[%- END %]
45

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

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

  
70
     <th align="right">[% 'Part Number' | $T8 %]</th>
71
     <td>[% L.input_tag("parts_partnumber", "", style=style) %]</td>
72 74
    </tr>
73
    [%- UNLESS ALL_BUSINESS_TYPES.size == 0 %]
74 75
    <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>
76
     <th>[% 'Project' | $T8 %]</th>
77
     <td>[% P.project_picker("project_id", '', class="wi-normal") %]</td>
79 78
    </tr>
80
    [%- END %]
81 79
    <tr>
82
     <th align="right">[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th>
80
     <th>[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th>
83 81
     <td>
84
       [% L.date_tag('transdatefrom') %]
82
       [% L.date_tag('transdatefrom','', class='wi-date') %]
85 83
       [% 'Bis' | $T8 %]
86
      [% L.date_tag('transdateto') %]
84
      [% L.date_tag('transdateto','', class='wi-date') %]
87 85
     </td>
88 86
    </tr>
89 87
    <tr>
90
     <th align="right">[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th>
88
     <th>[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th>
91 89
     <td>
92
       [% L.date_tag('reqdatefrom') %]
90
       [% L.date_tag('reqdatefrom','', class='wi-date') %]
93 91
       [% 'Bis' | $T8 %]
94
       [% L.date_tag('reqdateto') %]
92
       [% L.date_tag('reqdateto','', class='wi-date') %]
95 93
     </td>
96 94
    </tr>
97 95

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

  
109 107
[%- IF type == 'sales_quotation' %]
110 108
    <tr>
111
     <th align="right">[% 'Expected billing date' | $T8 %] [% 'From' | $T8 %]</th>
109
     <th>[% 'Expected billing date' | $T8 %] [% 'From' | $T8 %]</th>
112 110
     <td>
113 111
      [% L.date_tag('expected_billing_date_from', '' 'BL') %]
114 112
      [% 'Bis' | $T8 %]
......
116 114
     </td>
117 115
    </tr>
118 116
    <tr>
119
     <th align="right">[% 'Order probability' | $T8 %]</th>
117
     <th>[% 'Order probability' | $T8 %]</th>
120 118
     <td>
121 119
      [% L.select_tag('order_probability_op', [[ 'ge', '>=' ], [ 'le', '<=' ]]) %]
122 120
      [% L.select_tag('order_probability_value', ORDER_PROBABILITIES, title='title', with_empty=1) %]
......
127 125
[%- IF CT_CUSTOM_VARIABLES.size %]
128 126
    <tr>
129 127
      <td></td>
130
      <td colspan=4 align=left><b>[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</td>
128
      <td>[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</td>
131 129
    </tr>
132 130
    [% CT_CUSTOM_VARIABLES_FILTER_CODE %]
133 131
[%- END %]
134 132

  
133
  </tbody>
134
  </table>
135
  
136
  
137
	<table class="tbl-horizontal col test">
138
		<caption>[% 'Article' | $T8 %]</caption>
139
		<tbody>  
140

  
135 141
    <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>
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>
144 176
        <td>
145
         <input type="checkbox" name="closed" value="1" id="closed">
146
         <label for="closed">[% 'Closed' | $T8 %]</label>
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>
147 179
        </td>
148
       </tr>
149
[%- IF type == 'sales_order' OR type == 'purchase_order' %]
180
      </tr>
150 181
       <tr>
151 182
        <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>
183
         <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
184
         <label for="l_id">[% 'ID' | $T8 %]</label>
158 185
        </td>
159
       </tr>
160
[%- END %]
161
[%- IF type == 'sales_order' %]
186
      </tr>
162 187
       <tr>
163 188
        <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")) %]
189
         <input name="l_customernumber" id="l_customernumber" class="checkbox" type="checkbox" value="Y">
190
         <label for="l_customernumber">[% 'Customer Number' | $T8 %]</label>
168 191
        </td>
169 192
       </tr>
170
[%- END %]
171 193
       <tr>
172 194
        <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>
195
         <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
196
         <label for="l_globalprojectnumber">[% 'Project Number' | $T8 %]</label>
179 197
        </td>
198
      </tr>
180 199
[% IF is_order %]
200
      <tr>
181 201
        <td>
182 202
         <input name="l_cusordnumber" id="l_cusordnumber" class="checkbox" type="checkbox" value="Y" checked>
183 203
         <label for="l_cusordnumber">[% LxERP.t8("Customer Order Number") %]</label>
184 204
        </td>
205
      </tr>
185 206
[% END %]
186
       </tr>
207

  
208

  
209
</tbody>
210
</table>
211

  
212

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

  
187 217
       <tr>
188 218
        <td>
189
         <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
190
         <label for="l_transdate">[% 'Date' | $T8 %]</label>
219
         <input type="checkbox" name="open" value="1" id="open" checked>
220
         <label for="open">[% 'Open' | $T8 %]</label>
191 221
        </td>
222
      </tr>
223
      <tr>
192 224
        <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>
225
         <input type="checkbox" name="closed" value="1" id="closed">
226
         <label for="closed">[% 'Closed' | $T8 %]</label>
195 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>
196 236
        [%- IF type == 'sales_order' %]
237
      <tr>
197 238
        <td>
198 239
          <input name="l_insertdate" id="l_insertdate" class="checkbox" type="checkbox" value="Y">
199 240
          <label for="l_insertdate">[% 'Insert Date' | $T8 %]</label>
200 241
        </td>
242
      </tr>
201 243
        [%- 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>
244
      <tr>
208 245
        <td>
209
         <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
210
         <label for="l_employee">[% 'Employee' | $T8 %]</label>
246
         <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
247
         <label for="l_salesman">[% 'Salesman' | $T8 %]</label>
211 248
        </td>
249
       </tr>
250

  
251
</tbody>
252
</table>
253

  
254

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

  
259
      <tr>
212 260
        <td>
213
         <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
214
         <label for="l_shipvia">[% 'Ship via' | $T8 %]</label>
261
         <input name="l_amount" id="l_amount" class="checkbox" type="checkbox" value="Y" checked>
262
         <label for="l_amount">[% 'Total' | $T8 %]</label>
215 263
        </td>
216 264
       </tr>
217 265
       <tr>
218 266
        <td>
219
         <input name="l_customernumber" id="l_customernumber" class="checkbox" type="checkbox" value="Y">
220
         <label for="l_customernumber">[% 'Customer Number' | $T8 %]</label>
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>
221 269
        </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>
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>
225 277
       <tr>
226 278
        <td>
227 279
         <input name="l_netamount" id="l_netamount" class="checkbox" type="checkbox" value="Y">
228 280
         <label for="l_netamount">[% 'Amount' | $T8 %]</label>
229 281
        </td>
282
      </tr>
283
       <tr>
230 284
        <td>
231
         <input name="l_tax" id="l_tax" class="checkbox" type="checkbox" value="Y">
232
         <label for="l_tax">[% 'Tax' | $T8 %]</label>
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>
233 293
        </td>
294
      </tr>
295
      <tr>
234 296
        <td>
235
         <input name="l_amount" id="l_amount" class="checkbox" type="checkbox" value="Y" checked>
236
         <label for="l_amount">[% 'Total' | $T8 %]</label>
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>
237 299
        </td>
238 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>
239 319
       <tr>
240 320
        <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>
321
         <input name="l_vcnumber" id="l_vcnumber" class="checkbox" type="checkbox" value="Y">
322
         <label for="l_vcnumber">[% HTML.escape(vcnumberlabel) %]</label>
243 323
        </td>
324
      </tr>
325
      <tr>
244 326
        <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>
327
         <input name="l_country" id="l_country" class="checkbox" type="checkbox" value="Y">
328
         <label for="l_country">[% 'Country' | $T8 %]</label>
247 329
        </td>
330
      </tr>
331
      <tr>
248 332
        <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>
333
         <input name="l_ustid"  id="l_ustid" class="checkbox" type="checkbox" value="Y">
334
         <label for="l_ustid">[% 'USt-IdNr.' | $T8 %]</label>
251 335
        </td>
252 336
       </tr>
253
       <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>
254 351
        <td>
255
         <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
256
         <label for="l_globalprojectnumber">[% 'Project Number' | $T8 %]</label>
352
         <input name="l_tax" id="l_tax" class="checkbox" type="checkbox" value="Y">
353
         <label for="l_tax">[% 'Tax' | $T8 %]</label>
257 354
        </td>
355
      </tr>
356
       <tr>
258 357
        <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>
358
          [%- L.checkbox_tag('l_taxzone', label => LxERP.t8('Steuersatz')) %]
261 359
        </td>
262 360
       </tr>
361
<tr><th class="caption" colspan="2"> [% 'Date' | $T8 %] </th></tr>
263 362
       <tr>
264 363
        <td>
265
         <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
266
         <label for="l_subtotal">[% 'Subtotal' | $T8 %]</label>
364
         <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
365
         <label for="l_transdate">[% 'Date' | $T8 %]</label>
267 366
        </td>
367
      </tr>
368
      <tr>
268 369
        <td>
269
         <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
270
         <label for="l_salesman">[% 'Salesman' | $T8 %]</label>
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>
271 372
        </td>
272
       </tr>
373
      </tr>
273 374
[% IF type == 'sales_quotation' %]
274 375
       <tr>
275
        <td colspan="2">
376
        <td>
276 377
         <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>
378
         <label for="l_order_probability_expected_billing_date">[% 'Order probability &amp; expected billing date' | $T8 %]</label>
278 379
        </td>
279 380
       </tr>
280 381
[%- END %]
382

  
383
</tbody>
384
</table>
385

  
386

  
387

  
388

  
389

  
390

  
391

  
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' %]
281 401
       <tr>
282 402
        <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>
403
         <input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
404
         <label for="notdelivered">[% 'Not delivered' | $T8 %]</label>
285 405
        </td>
406
      </tr>
407
      <tr>
286 408
        <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>
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>
289 411
        </td>
290 412
       </tr>
413
[%- END %]
414
[%- IF type == 'sales_order' %]
291 415
       <tr>
292
        <td colspan=4 align=left><b>[% HTML.escape(vclabel) %]</td>
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>
293 424
       </tr>
294
       <tr>
425
[%- END %]
426
      <tr>
295 427
        <td>
296
         <input name="l_vcnumber" id="l_vcnumber" class="checkbox" type="checkbox" value="Y">
297
         <label for="l_vcnumber">[% HTML.escape(vcnumberlabel) %]</label>
428
         <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
429
         <label for="l_shipvia">[% 'Ship via' | $T8 %]</label>
298 430
        </td>
431
       </tr>
432
       <tr>
433
        <td>[%- L.checkbox_tag('l_shippingpoint', label => LxERP.t8('Shipping Point')) %]</td>
434
       </tr>
435
      <tr>
299 436
        <td>
300
         <input name="l_country" id="l_country" class="checkbox" type="checkbox" value="Y">
301
         <label for="l_country">[% 'Country' | $T8 %]</label>
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>
302 439
        </td>
440
       </tr>
441
      <tr>
303 442
        <td>
304
         <input name="l_ustid"  id="l_ustid" class="checkbox" type="checkbox" value="Y">
305
         <label for="l_ustid">[% 'USt-IdNr.' | $T8 %]</label>
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>
306 445
        </td>
307 446
       </tr>
308 447

  
309
      [% CT_CUSTOM_VARIABLES_INCLUSION_CODE %]
448
      </tbody>
449
      </table>
310 450

  
451

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

  
456
      [% CT_CUSTOM_VARIABLES_INCLUSION_CODE %]
457
      </tbody>
311 458
      </table>
312
     </td>
313
    </tr>
314
   </table>
315
  </td>
316
 </tr>
317
</table>
459
</div>
318 460

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

Auch abrufbar als: Unified diff