Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e06a7e08

Von Moritz Bunkus vor mehr als 17 Jahren hinzugefügt

  • ID e06a7e08648363ef8c8ef14678ab853ae7bdd670
  • Vorgänger 99131585
  • Nachfolger bab39fc2

Einkaufs- und Verkaufsmasken: Die potenziell langen Drop-Down-Boxen auf der linken Seite haben alle die selbe Breite.

Unterschiede anzeigen:

bin/mozilla/ir.pl
291 291
    <tr>
292 292
      <th align="right">| . $locale->text('Contact Person') . qq|</th>
293 293
      <td>| .
294
      NTI($cgi->popup_menu('-name' => 'cp_id', '-values' => \@values,
294
      NTI($cgi->popup_menu('-name' => 'cp_id', '-values' => \@values, '-style' => 'width: 250px',
295 295
                           '-labels' => \%labels, '-default' => $form->{"cp_id"}))
296 296
      . qq|
297 297
      </td>
......
358 358
      <td>| .
359 359
        NTI($cgi->popup_menu('-name' => 'vendor', '-default' => $form->{"vendor"},
360 360
                             '-onChange' => 'document.getElementById(\'update_button\').click();',
361
                             '-values' => \@values, '-labels' => \%labels)) . qq|
361
                             '-values' => \@values, '-labels' => \%labels, '-style' => 'width: 250px')) . qq|
362 362
        <input type="button" value="?" onclick="show_vc_details('vendor')">
363 363
      </td>|;
364 364

  
......
375 375
      <th align="right">| . $locale->text('Steuersatz') . qq|</th>
376 376
      <td>| .
377 377
        NTI($cgi->popup_menu('-name' => 'taxzone_id', '-default' => $form->{"taxzone_id"},
378
                             '-values' => \@values, '-labels' => \%labels)) . qq|
378
                             '-values' => \@values, '-labels' => \%labels, '-style' => 'width: 250px')) . qq|
379 379
      </td>
380 380
    </tr>|;
381 381

  
......
393 393
  $department = qq|
394 394
              <tr>
395 395
	      <th align="right" nowrap>| . $locale->text('Department') . qq|</th>
396
	      <td colspan="3"><select name="department">$form->{selectdepartment}</select>
396
	      <td colspan="3"><select name="department" style="width: 250px">$form->{selectdepartment}</select>
397 397
	      <input type="hidden" name="selectdepartment" value="$form->{selectdepartment}">
398 398
	      </td>
399 399
	    </tr>
......
465 465
        </tr>
466 466
	      <tr>
467 467
		<th align="right">| . $locale->text('Record in') . qq|</th>
468
		<td colspan="3"><select name="AP">$form->{selectAP}</select></td>
468
		<td colspan="3"><select name="AP" style="width: 250px">$form->{selectAP}</select></td>
469 469
		<input type="hidden" name="selectAP" value="$form->{selectAP}">
470 470
	      </tr>
471 471
              $taxzone
bin/mozilla/is.pl
346 346
    <tr>
347 347
      <th align="right">| . $locale->text('Contact Person') . qq|</th>
348 348
      <td>| .
349
      NTI($cgi->popup_menu('-name' => 'cp_id', '-values' => \@values,
349
      NTI($cgi->popup_menu('-name' => 'cp_id', '-values' => \@values, '-style' => 'width: 250px',
350 350
                           '-labels' => \%labels, '-default' => $form->{"cp_id"}))
351 351
      . qq|
352 352
      </td>
......
384 384
              ? qq|<input type="text" value="| . H($form->{"oldcustomer"}) . qq|" name="customer">|
385 385
              : (NTI($cgi->popup_menu('-name' => 'customer', '-default' => $form->{oldcustomer},
386 386
                             '-onChange' => 'document.getElementById(\'update_button\').click();',
387
                             '-values' => \@values, '-labels' => \%labels)))) . qq|
387
                             '-values' => \@values, '-labels' => \%labels, '-style' => 'width: 250px')))) . qq|
388 388
        <input type="button" value="?" onclick="show_vc_details('customer')">
389 389
      </td>|;
390 390

  
......
401 401
    <tr>
402 402
      <th align="right">| . $locale->text('Shipping Address') . qq|</th>
403 403
      <td>| .
404
      NTI($cgi->popup_menu('-name' => 'shipto_id', '-values' => \@values,
404
      NTI($cgi->popup_menu('-name' => 'shipto_id', '-values' => \@values, '-style' => 'width: 250px',
405 405
                           '-labels' => \%labels, '-default' => $form->{"shipto_id"}))
406 406
    . qq|</td>|;
407 407
  }
......
466 466
      <th align="right">| . $locale->text('Steuersatz') . qq|</th>
467 467
      <td>| .
468 468
        NTI($cgi->popup_menu('-name' => 'taxzone_id', '-default' => $form->{"taxzone_id"},
469
                             '-values' => \@values, '-labels' => \%labels)) . qq|
469
                             '-values' => \@values, '-labels' => \%labels, '-style' => 'width: 250px',)) . qq|
470 470
      </td>
471 471
    </tr>|;
472 472

  
......
529 529
  $department = qq|
530 530
              <tr>
531 531
	        <th align="right" nowrap>| . $locale->text('Department') . qq|</th>
532
		<td colspan="3"><select name="department">$form->{selectdepartment}</select>
532
		<td colspan="3"><select name="department" style="width: 250px">$form->{selectdepartment}</select>
533 533
		<input type="hidden" name="selectdepartment" value="$form->{selectdepartment}">
534 534
		</td>
535 535
	      </tr>
......
674 674
        $business
675 675
	      <tr>
676 676
		<th align="right" nowrap>| . $locale->text('Record in') . qq|</th>
677
		<td colspan="3"><select name="AR" style="width:280px;">$form->{selectAR}</select></td>
677
		<td colspan="3"><select name="AR" style="width:250px;">$form->{selectAR}</select></td>
678 678
		<input type="hidden" name="selectAR" value="$form->{selectAR}">
679 679
	      </tr>
680 680
              $taxzone
bin/mozilla/oe.pl
416 416
    <tr>
417 417
      <th align="right">| . $locale->text('Contact Person') . qq|</th>
418 418
      <td>| .
419
      NTI($cgi->popup_menu('-name' => 'cp_id', '-values' => \@values,
419
      NTI($cgi->popup_menu('-name' => 'cp_id', '-values' => \@values, '-style' => 'width: 250px',
420 420
                           '-labels' => \%labels, '-default' => $form->{"cp_id"}))
421 421
      . qq|
422 422
      </td>
......
440 440
              ? qq|<input type="text" value="| . H($form->{"old$form->{vc}"}) . qq|" name="$form->{vc}">| 
441 441
              : (NTI($cgi->popup_menu('-name' => "$form->{vc}", '-default' => $form->{"old$form->{vc}"}, 
442 442
                             '-onChange' => 'document.getElementById(\'update_button\').click();',
443
                             '-values' => \@values, '-labels' => \%labels)))) . qq|
443
                             '-values' => \@values, '-labels' => \%labels, '-style' => 'width: 250px')))) . qq|
444 444
        <input type="button" value="?" onclick="show_vc_details('$form->{vc}')">
445 445
      </td><input type=hidden name="select$form->{vc}" value="| .
446 446
    Q($form->{"select$form->{vc}"}) . qq|">|;
......
455 455
  $payments = qq|
456 456
    <th align="right">| . $locale->text('Payment Terms') . qq|</th>
457 457
    <td>| .
458
    NTI($cgi->popup_menu('-name' => 'payment_id', '-values' => \@values,
458
    NTI($cgi->popup_menu('-name' => 'payment_id', '-values' => \@values, '-style' => 'width: 250px',
459 459
                         '-labels' => \%labels, '-default' => $form->{payment_id}))
460 460
    . qq|</td>|;
461 461

  
......
472 472
    <tr>
473 473
      <th align="right">| . $locale->text('Shipping Address') . qq|</th>
474 474
      <td>| .
475
      NTI($cgi->popup_menu('-name' => 'shipto_id', '-values' => \@values,
475
      NTI($cgi->popup_menu('-name' => 'shipto_id', '-values' => \@values, '-style' => 'width: 250px',
476 476
                           '-labels' => \%labels, '-default' => $form->{"shipto_id"}))
477 477
    . qq|</td>|;
478 478
  }
......
535 535
      <th align="right">| . $locale->text('Steuersatz') . qq|</th>
536 536
      <td>| .
537 537
        NTI($cgi->popup_menu('-name' => 'taxzone_id', '-default' => $form->{"taxzone_id"},
538
                             '-values' => \@values, '-labels' => \%labels)) . qq|
538
                             '-values' => \@values, '-labels' => \%labels, '-style' => 'width: 250px')) . qq|
539 539
      </td>
540 540
    </tr>|;
541 541

  
......
700 700
  $department = qq|
701 701
              <tr>
702 702
	        <th align="right" nowrap>| . $locale->text('Department') . qq|</th>
703
		<td colspan=3><select name=department>$form->{selectdepartment}</select>
703
		<td colspan=3><select name=department style="width: 250px">$form->{selectdepartment}</select>
704 704
		<input type=hidden name=selectdepartment value="$form->{selectdepartment}">
705 705
		</td>
706 706
	      </tr> | if $form->{selectdepartment};

Auch abrufbar als: Unified diff