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/do/search.html
11 11

  
12 12
 [%- SET vctypelabel = vc == 'customer' ? LxERP.t8('Customer type') : LxERP.t8('Vendor type') %]
13 13

  
14
 <style type="text/css">
15
  .fixed_width {
16
    width: 250px;
17
  }
18
 </style>
19 14

  
20 15
 <form method="post" action="do.pl" name="Form" id="form">
21 16

  
22
  <p>
23
   <table>
24
    <tr>
25
     <th align="right">[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %]</th>
26
     <td colspan="3">[% P.input_tag(vc, "", class="fixed_width initial_focus") %]</td>
27
    </tr>
17
 
18
<table class="tbl-horizontal test">
19
	<tr>
20
		<th align="right">[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %]</th>
21
		<td colspan="3">[% P.input_tag(vc, "", class="fixed_width initial_focus") %]</td>
22
	</tr>
23
	<tr>
24
		<th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
25
		<td colspan="3">[% L.input_tag("cp_name", '', class="fixed_width") %]</td>
26
	</tr>
27
	<tr>
28
		<th align="right">[% 'Delivery Order Number' | $T8 %]</th>
29
		<td colspan="3">
30
		<input name="donumber" class="fixed_width">
31
		</td>
32
	</tr>
33
	<tr>
34
		<th align="right">[% 'Order Number' | $T8 %]</th>
35
		<td colspan="3">
36
		<input name="ordnumber" class="fixed_width">
37
		</td>
38
	</tr>
39
	<tr>
40
		<th align="right">[% 'Customer Order Number' | $T8 %]</th>
41
		<td colspan="3">
42
		<input name="cusordnumber" class="fixed_width">
43
		</td>
44
	</tr>
45
	[%- IF ALL_DEPARTMENTS.size %] 
46
	<tr>
47
		<th align="right" nowrap>[% 'Department' | $T8 %]</th>
48
		<td colspan="3">[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, class="fixed_width") %]</td>
49
	</tr>
50
	[%- END %] 
51
	<tr>
52
		<th align="right">[% 'Employee' | $T8 %]</th>
53
		<td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, class = 'fixed_width') %]</td>
54
	</tr>
55
	[%- IF is_customer %] 
56
	<tr>
57
		<th align="right">[% 'Salesman' | $T8 %]</th>
58
		<td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, class = 'fixed_width') %]</td>
59
	</tr>
60
	[%- END %] 
61
	<tr>
62
		<th align="right">[% 'Transaction description' | $T8 %]</th>
63
		<td>
64
		<input name="transaction_description" class="fixed_width">
65
		</td>
66
		<th align="right">[% 'Part Description' | $T8 %]</th>
67
		<td>
68
		<input name="parts_description" size="20" class="fixed_width">
69
		</td>
70
	</tr>
71
	<tr>
72
		<th align="right">[% 'Project Number' | $T8 %]</th>
73
		<td> 
74
		<select name="project_id" class="fixed_width">
75
			<option></option>
76
			[%- FOREACH row = ALL_PROJECTS %] 
77
			<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.projectnumber) %]</option>
78
			[%- END %] 
79
		</select>
80
		</td>
81
		<th align="right">[% 'Part Number' | $T8 %]</th>
82
		<td>
83
		<input name="parts_partnumber" size="20" , class="fixed_width">
84
		</td>
85
	</tr>
86
	<tr>
87
		<th align="right">[% 'Serial Number' | $T8 %]</th>
88
		<td colspan="3">
89
		<input name="serialnumber" class="fixed_width">
90
		</td>
91
	</tr>
92
	[%- IF ALL_BUSINESS_TYPES.size %] 
93
	<tr>
94
		<th align="right" nowrap>[% vctypelabel %]</th>
95
		<td colspan="3"> [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, style='width:250px') %] </td>
96
	</tr>
97
	[%- END %] 
98
	<tr>
99
		<th align="right">[% 'Delivery Order Date' | $T8 %] [% 'From' | $T8 %]</th>
100
		<td> [% L.date_tag('transdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('transdateto') %] </td>
101
	</tr>
102
	<tr>
103
		<th align="right">[% 'Reqdate' | $T8 %] [% 'From' | $T8 %]</th>
104
		<td> [% L.date_tag('reqdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('reqdateto') %] </td>
105
	</tr>
106
	<tr>
107
		<th align="right">[% 'Insert Date' | $T8 %] [% 'From' | $T8 %]</th>
108
		<td> [% L.date_tag('insertdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('insertdateto') %] </td>
109
	</tr>
110
	<tr>
111
		<th align="right">[% 'Include in Report' | $T8 %]</th>
112
		<td colspan="5"> 
113
		<table>
114
			<tr>
115
				<td> 
116
				<input type="checkbox" name="open" value="1" id="open" checked>
117
				<label for="open">[% 'Open' | $T8 %]</label> </td>
118
				<td> 
119
				<input type="checkbox" name="closed" value="1" id="closed">
120
				<label for="closed">[% 'Closed' | $T8 %]</label> </td>
121
			</tr>
122
			<tr>
123
				<td> 
124
				<input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
125
				<label for="notdelivered">[% 'Not delivered' | $T8 %]</label> </td>
126
				<td> 
127
				<input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
128
				<label for="delivered">[% 'Delivered' | $T8 %]</label></td>
129
			</tr>
130
			<tr>
131
				<td> 
132
				<input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
133
				<label for="l_id">[% 'ID' | $T8 %]</label> </td>
134
				<td> 
135
				<input name="l_donumber" id="l_donumber" class="checkbox" type="checkbox" value="Y" checked>
136
				<label for="l_donumber">[% 'Delivery Order Number' | $T8 %]</label> </td>
137
			</tr>
138
			<tr>
139
				<td> 
140
				<input name="l_ordnumber" id="l_ordnumber" class="checkbox" type="checkbox" value="Y" checked>
141
				<label for="l_ordnumber">[% 'Order Number' | $T8 %]</label> </td>
142
				<td> 
143
				<input name="l_cusordnumber" id="l_cusordnumber" class="checkbox" type="checkbox" value="Y" checked>
144
				<label for="l_cusordnumber">[% 'Customer Order Number' | $T8 %]</label> </td>
145
			</tr>
146
			<tr>
147
				<td> 
148
				<input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
149
				<label for="l_transdate">[% 'Delivery Order Date' | $T8 %]</label> </td>
150
				<td> 
151
				<input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
152
				<label for="l_reqdate">[% 'Reqdate' | $T8 %]</label> </td>
153
				[% IF is_customer %] 
154
				<td> 
155
				<input name="l_insertdate" id="l_insertdate" class="checkbox" type="checkbox" value="Y">
156
				<label for="l_insertdate">[% 'Insert Date' | $T8 %]</label> </td>
157
				[%- END %] 
158
			</tr>
159
			<tr>
160
				<td> 
161
				<input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
162
				<label for="l_name">[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %]</label> </td>
163
				[% IF is_customer %] 
164
				<td> 
165
				<input name="l_customernumber" id="l_customernumber" class="checkbox" type="checkbox" value="Y">
166
				<label for="l_customernumber">[% 'Customer Number' | $T8 %]</label> </td>
167
				[% END %] 
168
			</tr>
169
			<tr>
170
				<td> 
171
				<input name="l_department" id="l_department" class="checkbox" type="checkbox" value="Y">
172
				<label for="l_department">[% "Department" | $T8 %]</label> </td>
173
				<td> 
174
				<input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
175
				<label for="l_shipvia">[% 'Ship via' | $T8 %]</label> </td>
176
			</tr>
177
			<tr>
178
				<td> 
179
				<input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
180
				<label for="l_employee">[% 'Employee' | $T8 %]</label> </td>
181
				<td> 
182
				<input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
183
				<label for="l_salesman">[% 'Salesman' | $T8 %]</label> </td>
184
			</tr>
185
			<tr>
186
				<td> 
187
				<input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
188
				<label for="l_globalprojectnumber">[% 'Project Number' | $T8 %]</label> </td>
189
				<td> 
190
       <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 %]>
191
				<label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label> </td>
192
			</tr>
193
		</table>
194
		</td>
195
	</tr>
196
</table>
28 197

  
29
    <tr>
30
     <th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
31
     <td colspan="3">[% L.input_tag("cp_name", '', class="fixed_width") %]</td>
32
    </tr>
33

  
34
    <tr>
35
     <th align="right">[% 'Delivery Order Number' | $T8 %]</th>
36
     <td colspan="3"><input name="donumber" class="fixed_width"></td>
37
    </tr>
38

  
39
    <tr>
40
     <th align="right">[% 'Order Number' | $T8 %]</th>
41
     <td colspan="3"><input name="ordnumber" class="fixed_width"></td>
42
    </tr>
43

  
44
    <tr>
45
     <th align="right">[% 'Customer Order Number' | $T8 %]</th>
46
     <td colspan="3"><input name="cusordnumber" class="fixed_width"></td>
47
    </tr>
48

  
49
    [%- IF ALL_DEPARTMENTS.size %]
50
    <tr>
51
     <th align="right" nowrap>[% 'Department' | $T8 %]</th>
52
     <td colspan=3>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, class="fixed_width") %]</td>
53
    </tr>
54
    [%- END %]
55

  
56
    <tr>
57
     <th align="right">[% 'Employee' | $T8 %]</th>
58
     <td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, class = 'fixed_width') %]</td>
59
    </tr>
60

  
61
    [%- IF is_customer %]
62
    <tr>
63
     <th align="right">[% 'Salesman' | $T8 %]</th>
64
     <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, class = 'fixed_width') %]</td>
65
    </tr>
66
    [%- END %]
67

  
68
    <tr>
69
     <th align="right">[% 'Transaction description' | $T8 %]</th>
70
     <td><input name="transaction_description" class="fixed_width"></td>
71
     <th align="right">[% 'Part Description' | $T8 %]</th>
72
     <td><input name="parts_description" size="20" class="fixed_width"></td>
73
    </tr>
74

  
75
    <tr>
76
     <th align="right">[% 'Project Number' | $T8 %]</th>
77
     <td>
78
      <select name="project_id" class="fixed_width">
79
       <option></option>
80
       [%- FOREACH row = ALL_PROJECTS %]
81
       <option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.projectnumber) %]</option>
82
       [%- END %]
83
      </select>
84
     </td>
85
     <th align="right">[% 'Part Number' | $T8 %]</th>
86
     <td><input name="parts_partnumber" size="20", class="fixed_width"></td>
87
    </tr>
88

  
89
    <tr>
90
     <th align="right">[% 'Serial Number' | $T8 %]</th>
91
     <td colspan="3"><input name="serialnumber" class="fixed_width"></td>
92
    </tr>
93

  
94
    [%- IF ALL_BUSINESS_TYPES.size %]
95
    <tr>
96
     <th align="right" nowrap>[% vctypelabel %]</th>
97
     <td colspan="3">
98
      [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, style='width:250px') %]
99
     </td>
100
    </tr>
101
    [%- END %]
102

  
103
    <tr>
104
     <th align="right">[% 'Delivery Order Date' | $T8 %] [% 'From' | $T8 %]</th>
105
     <td>
106
      [% L.date_tag('transdatefrom') %]
107
      [% 'Bis' | $T8 %]
108
      [% L.date_tag('transdateto') %]
109
     </td>
110
    </tr>
111

  
112
    <tr>
113
     <th align="right">[% 'Reqdate' | $T8 %] [% 'From' | $T8 %]</th>
114
     <td>
115
      [% L.date_tag('reqdatefrom') %]
116
      [% 'Bis' | $T8 %]
117
      [% L.date_tag('reqdateto') %]
118
     </td>
119
    </tr>
120

  
121
    <tr>
122
     <th align="right">[% 'Insert Date' | $T8 %] [% 'From' | $T8 %]</th>
123
     <td>
124
       [% L.date_tag('insertdatefrom') %]
125
       [% 'Bis' | $T8 %]
126
       [% L.date_tag('insertdateto') %]
127
     </td>
128
    </tr>
129

  
130
    <tr>
131
     <th align="right">[% 'Include in Report' | $T8 %]</th>
132
     <td colspan="5">
133
      <table>
134
       <tr>
135
        <td>
136
         <input type="checkbox" name="open" value="1" id="open" checked>
137
         <label for="open">[% 'Open' | $T8 %]</label>
138
        </td>
139
        <td>
140
         <input type="checkbox" name="closed" value="1" id="closed">
141
         <label for="closed">[% 'Closed' | $T8 %]</label>
142
        </td>
143
       </tr>
144

  
145
       <tr>
146
        <td>
147
         <input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
148
         <label for="notdelivered">[% 'Not delivered' | $T8 %]</label>
149
        </td>
150
        <td>
151
         <input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
152
         <label for="delivered">[% 'Delivered' | $T8 %]</label></td>
153
       </tr>
154

  
155
       <tr>
156
        <td>
157
         <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
158
         <label for="l_id">[% 'ID' | $T8 %]</label>
159
        </td>
160

  
161
        <td>
162
         <input name="l_donumber" id="l_donumber" class="checkbox" type="checkbox" value="Y" checked>
163
         <label for="l_donumber">[% 'Delivery Order Number' | $T8 %]</label>
164
        </td>
165
       </tr>
166

  
167
       <tr>
168
        <td>
169
         <input name="l_ordnumber" id="l_ordnumber" class="checkbox" type="checkbox" value="Y" checked>
170
         <label for="l_ordnumber">[% 'Order Number' | $T8 %]</label>
171
        </td>
172

  
173
        <td>
174
         <input name="l_cusordnumber" id="l_cusordnumber" class="checkbox" type="checkbox" value="Y" checked>
175
         <label for="l_cusordnumber">[% 'Customer Order Number' | $T8 %]</label>
176
        </td>
177
       </tr>
178

  
179
       <tr>
180
        <td>
181
         <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
182
         <label for="l_transdate">[% 'Delivery Order Date' | $T8 %]</label>
183
        </td>
184
        <td>
185
         <input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
186
         <label for="l_reqdate">[% 'Reqdate' | $T8 %]</label>
187
        </td>
188
        [% IF is_customer %]
189
        <td>
190
         <input name="l_insertdate" id="l_insertdate" class="checkbox" type="checkbox" value="Y">
191
         <label for="l_insertdate">[% 'Insert Date' | $T8 %]</label>
192
        </td>
193
        [%- END %]
194
       </tr>
195

  
196
       <tr>
197
        <td>
198
         <input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
199
         <label for="l_name">[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %]</label>
200
        </td>
201

  
202
        [% IF is_customer %]
203
        <td>
204
         <input name="l_customernumber" id="l_customernumber" class="checkbox" type="checkbox" value="Y">
205
         <label for="l_customernumber">[% 'Customer Number' | $T8 %]</label>
206
        </td>
207
        [% END %]
208
       </tr>
209

  
210
       <tr>
211
        <td>
212
         <input name="l_department" id="l_department" class="checkbox" type="checkbox" value="Y">
213
         <label for="l_department">[% "Department" | $T8 %]</label>
214
        </td>
215

  
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

  
222
       <tr>
223
        <td>
224
         <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
225
         <label for="l_employee">[% 'Employee' | $T8 %]</label>
226
        </td>
227

  
228
        <td>
229
         <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
230
         <label for="l_salesman">[% 'Salesman' | $T8 %]</label>
231
        </td>
232
       </tr>
233

  
234
       <tr>
235
        <td>
236
         <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
237
         <label for="l_globalprojectnumber">[% 'Project Number' | $T8 %]</label>
238
        </td>
239

  
240
        <td>
241
         <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 %]>
242
         <label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label>
243
        </td>
244
       </tr>
245

  
246
      </table>
247
     </td>
248
    </tr>
249
   </table>
250
  </p>
251 198

  
252 199
   <input type="hidden" name="action" value="orders">
253 200
   <input type="hidden" name="vc" value="[% HTML.escape(vc) %]">

Auch abrufbar als: Unified diff