Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 214bc380

Von Moritz Bunkus vor etwa 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
$vendor =
($form->{selectvendor})
? qq|<select name=vendor>$form->{selectvendor}</select>|
? qq|<select name="vendor" onclick="document.getElementById('update_button').click();">$form->{selectvendor}</select>|
: qq|<input name=vendor value="$form->{vendor}" size=35>|;
my @old_project_ids = ();
......
$transdate = $form->datetonum($form->{transdate}, \%myconfig);
$closedto = $form->datetonum($form->{closedto}, \%myconfig);
print qq|<input class=submit type=submit name=action value="|
print qq|<input class="submit" type="submit" name="action" id="update_button" value="|
. $locale->text('Update') . qq|">|;
if ($form->{id}) {
bin/mozilla/ar.pl
$customer =
($form->{selectcustomer})
? qq|<select name=customer>$form->{selectcustomer}</select>|
? qq|<select name="customer" onclick="document.getElementById('update_button').click();">$form->{selectcustomer}</select>|
: qq|<input name=customer value="$form->{customer}" size=35>|;
$employee = qq|
......
$transdate = $form->datetonum($form->{transdate}, \%myconfig);
$closedto = $form->datetonum($form->{closedto}, \%myconfig);
print qq|<input class=submit type=submit name=action value="|
print qq|<input class="submit" type="submit" name="action" id="update_button" value="|
. $locale->text('Update') . qq|">
|;
if ($form->{id}) {
bin/mozilla/ir.pl
$vendor =
($form->{selectvendor})
? qq|<select name=vendor>$form->{selectvendor}</select>\n<input type=hidden name="selectvendor" value="$form->{selectvendor}">|
? qq|<select name="vendor" onclick="document.getElementById('update_button').click();">| .
qq|$form->{selectvendor}</select>\n<input type=hidden name="selectvendor" value="| .
Q($form->{selectvendor}) . qq|">|
: qq|<input name=vendor value="$form->{vendor}" size=35>|;
$department = qq|
bin/mozilla/is.pl
$customer =
($form->{selectcustomer})
? qq|<select name="customer">$form->{selectcustomer}</select>\n<input type="hidden" name="selectcustomer" value="$form->{selectcustomer}">|
? qq|<select name="customer" onclick="document.getElementById('update_button').click();">| .
qq|$form->{selectcustomer}</select>\n<input type="hidden" name="selectcustomer" value="| .
Q($form->{selectcustomer}) . qq|">|
: qq|<input name="customer" value="$form->{customer}" size="35">|;
$department = qq|
bin/mozilla/oe.pl
$vc =
($form->{"select$form->{vc}"})
? qq|<select name=$form->{vc}>$form->{"select$form->{vc}"}</select>\n<input type=hidden name="select$form->{vc}" value="$form->{"select$form->{vc}"}">|
? qq|<select name="$form->{vc}" onclick="document.getElementById('update_button').click();">| .
qq|$form->{"select$form->{vc}"}</select>\n<input type=hidden name="select$form->{vc}" value="| .
Q($form->{"select$form->{vc}"}) . qq|">|
: qq|<input name=$form->{vc} value="$form->{$form->{vc}}" size=35>|;
$department = qq|

Auch abrufbar als: Unified diff