Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 214bc380

Von Moritz Bunkus vor fast 18 Jahren hinzugefügt

  • ID 214bc380078e686f3834060df8066bba7e1e8098
  • Vorgänger bbb608a0
  • Nachfolger 04480967

Einkaufs-/Verkaufsmasken, Debitoren-/Kreditorenmasken: Wenn in der Drop-Down-Box für Kunden/Lieferanten ein anderer Eintrag ausgewählt wird, dann automatisch die Anzeige erneuern lassen.

Unterschiede anzeigen:

bin/mozilla/ap.pl
389 389

  
390 390
  $vendor =
391 391
    ($form->{selectvendor})
392
    ? qq|<select name=vendor>$form->{selectvendor}</select>|
392
    ? qq|<select name="vendor" onclick="document.getElementById('update_button').click();">$form->{selectvendor}</select>|
393 393
    : qq|<input name=vendor value="$form->{vendor}" size=35>|;
394 394

  
395 395
  my @old_project_ids = ();
......
846 846
  $transdate = $form->datetonum($form->{transdate}, \%myconfig);
847 847
  $closedto  = $form->datetonum($form->{closedto},  \%myconfig);
848 848

  
849
  print qq|<input class=submit type=submit name=action value="|
849
  print qq|<input class="submit" type="submit" name="action" id="update_button" value="|
850 850
    . $locale->text('Update') . qq|">|;
851 851

  
852 852
  if ($form->{id}) {
bin/mozilla/ar.pl
388 388

  
389 389
  $customer =
390 390
    ($form->{selectcustomer})
391
    ? qq|<select name=customer>$form->{selectcustomer}</select>|
391
    ? qq|<select name="customer" onclick="document.getElementById('update_button').click();">$form->{selectcustomer}</select>|
392 392
    : qq|<input name=customer value="$form->{customer}" size=35>|;
393 393

  
394 394
  $employee = qq|
......
861 861
  $transdate = $form->datetonum($form->{transdate}, \%myconfig);
862 862
  $closedto  = $form->datetonum($form->{closedto},  \%myconfig);
863 863

  
864
  print qq|<input class=submit type=submit name=action value="|
864
  print qq|<input class="submit" type="submit" name="action" id="update_button" value="|
865 865
    . $locale->text('Update') . qq|">
866 866
|;
867 867
  if ($form->{id}) {
bin/mozilla/ir.pl
333 333

  
334 334
  $vendor =
335 335
    ($form->{selectvendor})
336
    ? qq|<select name=vendor>$form->{selectvendor}</select>\n<input type=hidden name="selectvendor" value="$form->{selectvendor}">|
336
    ? qq|<select name="vendor" onclick="document.getElementById('update_button').click();">| .
337
    qq|$form->{selectvendor}</select>\n<input type=hidden name="selectvendor" value="| .
338
    Q($form->{selectvendor}) . qq|">|
337 339
    : qq|<input name=vendor value="$form->{vendor}" size=35>|;
338 340

  
339 341
  $department = qq|
bin/mozilla/is.pl
472 472

  
473 473
  $customer =
474 474
    ($form->{selectcustomer})
475
    ? qq|<select name="customer">$form->{selectcustomer}</select>\n<input type="hidden" name="selectcustomer" value="$form->{selectcustomer}">|
475
    ? qq|<select name="customer" onclick="document.getElementById('update_button').click();">| .
476
    qq|$form->{selectcustomer}</select>\n<input type="hidden" name="selectcustomer" value="| .
477
    Q($form->{selectcustomer}) . qq|">|
476 478
    : qq|<input name="customer" value="$form->{customer}" size="35">|;
477 479

  
478 480
  $department = qq|
bin/mozilla/oe.pl
675 675

  
676 676
  $vc =
677 677
    ($form->{"select$form->{vc}"})
678
    ? qq|<select name=$form->{vc}>$form->{"select$form->{vc}"}</select>\n<input type=hidden name="select$form->{vc}" value="$form->{"select$form->{vc}"}">|
678
    ? qq|<select name="$form->{vc}" onclick="document.getElementById('update_button').click();">| .
679
    qq|$form->{"select$form->{vc}"}</select>\n<input type=hidden name="select$form->{vc}" value="| .
680
    Q($form->{"select$form->{vc}"}) . qq|">|
679 681
    : qq|<input name=$form->{vc} value="$form->{$form->{vc}}" size=35>|;
680 682

  
681 683
  $department = qq|

Auch abrufbar als: Unified diff