Revision 7fcb078f
Von Moritz Bunkus vor mehr als 17 Jahren hinzugefügt
bin/mozilla/ct.pl | ||
---|---|---|
214 | 214 |
$lxdebug->leave_sub(); |
215 | 215 |
} |
216 | 216 |
|
217 |
sub search_delivery { |
|
218 |
$lxdebug->enter_sub(); |
|
219 |
|
|
220 |
$label = ucfirst $form->{db}; |
|
221 |
$form->{title} = $locale->text($label . "s"); |
|
222 |
|
|
223 |
$form->header; |
|
224 |
|
|
225 |
print qq| |
|
226 |
<body> |
|
227 |
|
|
228 |
<form method=post action=$form->{script}> |
|
229 |
|
|
230 |
<input type=hidden name=db value=$form->{db}> |
|
231 |
|
|
232 |
<table width=100%> |
|
233 |
<tr> |
|
234 |
<th class=listtop>$form->{title}</th> |
|
235 |
</tr> |
|
236 |
<tr height="5"></tr> |
|
237 |
<tr valign=top> |
|
238 |
<td> |
|
239 |
<table> |
|
240 |
<tr> |
|
241 |
<th align=right nowrap>| . $locale->text($label . ' Number') . qq|</th> |
|
242 |
<td><input name=$form->{db}number size=35></td> |
|
243 |
</tr> |
|
244 |
<tr> |
|
245 |
<th align=right nowrap>| . $locale->text('Company Name') . qq|</th> |
|
246 |
<td><input name=name size=35></td> |
|
247 |
</tr> |
|
248 |
<tr> |
|
249 |
<th align=right nowrap>| . $locale->text('Contact') . qq|</th> |
|
250 |
<td><input name=contact size=35></td> |
|
251 |
</tr> |
|
252 |
<tr> |
|
253 |
<th align=right nowrap>| . $locale->text('E-mail') . qq|</th> |
|
254 |
<td><input name=email size=35></td> |
|
255 |
</tr> |
|
256 |
<tr> |
|
257 |
<td></td> |
|
258 |
<td><input name=status class=radio type=radio value=all checked> | |
|
259 |
. $locale->text('All') . qq| |
|
260 |
<input name=status class=radio type=radio value=orphaned> | |
|
261 |
. $locale->text('Orphaned') . qq|</td> |
|
262 |
</tr> |
|
263 |
<tr> |
|
264 |
<th align=right nowrap>| . $locale->text('Include in Report') . qq|</th> |
|
265 |
<td> |
|
266 |
<table> |
|
267 |
<tr> |
|
268 |
<td><input name="l_id" type=checkbox class=checkbox value=Y> | |
|
269 |
. $locale->text('ID') . qq|</td> |
|
270 |
<td><input name="l_$form->{db}number" type=checkbox class=checkbox value=Y> | |
|
271 |
. $locale->text($label . ' Number') . qq|</td> |
|
272 |
<td><input name="l_name" type=checkbox class=checkbox value=Y checked> | |
|
273 |
. $locale->text('Company Name') . qq|</td> |
|
274 |
<td><input name="l_address" type=checkbox class=checkbox value=Y> | |
|
275 |
. $locale->text('Address') . qq|</td> |
|
276 |
</tr> |
|
277 |
<tr> |
|
278 |
<td><input name="l_contact" type=checkbox class=checkbox value=Y checked> | |
|
279 |
. $locale->text('Contact') . qq|</td> |
|
280 |
<td><input name="l_phone" type=checkbox class=checkbox value=Y checked> | |
|
281 |
. $locale->text('Phone') . qq|</td> |
|
282 |
<td><input name="l_fax" type=checkbox class=checkbox value=Y> | |
|
283 |
. $locale->text('Fax') . qq|</td> |
|
284 |
<td><input name="l_email" type=checkbox class=checkbox value=Y checked> | |
|
285 |
. $locale->text('E-mail') . qq|</td> |
|
286 |
</tr> |
|
287 |
<tr> |
|
288 |
<td><input name="l_taxnumber" type=checkbox class=checkbox value=Y> | |
|
289 |
. $locale->text('Tax Number') . qq|</td> |
|
290 |
<td><input name="l_sic_code" type=checkbox class=checkbox value=Y> | |
|
291 |
. $locale->text('SIC') . qq|</td> |
|
292 |
<td><input name="l_business" type=checkbox class=checkbox value=Y> | |
|
293 |
. $locale->text('Type of Business') . qq|</td> |
|
294 |
</tr> |
|
295 |
<tr> |
|
296 |
<td><input name="l_invnumber" type=checkbox class=checkbox value=Y> | |
|
297 |
. $locale->text('Invoices') . qq|</td> |
|
298 |
<td><input name="l_ordnumber" type=checkbox class=checkbox value=Y> | |
|
299 |
. $locale->text('Orders') . qq|</td> |
|
300 |
<td><input name="l_quonumber" type=checkbox class=checkbox value=Y> | |
|
301 |
. $locale->text('Quotations') . qq|</td> |
|
302 |
</tr> |
|
303 |
</table> |
|
304 |
</td> |
|
305 |
</tr> |
|
306 |
</table> |
|
307 |
</td> |
|
308 |
</tr> |
|
309 |
<tr> |
|
310 |
<td><hr size=3 noshade></td> |
|
311 |
</tr> |
|
312 |
</table> |
|
313 |
|
|
314 |
<input type=hidden name=nextsub value=list_names> |
|
315 |
|
|
316 |
<input type=hidden name=login value=$form->{login}> |
|
317 |
<input type=hidden name=password value=$form->{password}> |
|
318 |
|
|
319 |
<br> |
|
320 |
<input type=submit class=submit name=action value="| |
|
321 |
. $locale->text('Continue') . qq|"> |
|
322 |
</form> |
|
323 |
|
|
324 |
</body> |
|
325 |
</html> |
|
326 |
|; |
|
327 |
$lxdebug->leave_sub(); |
|
328 |
} |
|
329 |
|
|
330 | 217 |
sub list_names { |
331 | 218 |
$lxdebug->enter_sub(); |
332 | 219 |
|
Auch abrufbar als: Unified diff
Die Funktion 'search_delivery' wird nirgends aufgerufen.