Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a143b82a

Von Sven Schöling vor fast 18 Jahren hinzugefügt

  • ID a143b82a56e889cfda60c2d42fe7d0bdaf73aa83
  • Vorgänger 292502ec
  • Nachfolger 43e0502b

Bug 614.
Auch copy&paste Programmierung will gelernt sein... :/

Unterschiede anzeigen:

bin/mozilla/is.pl
1667 1667
sub e_mail {
1668 1668
  $lxdebug->enter_sub();
1669 1669

  
1670
  $form->{postasnew} = 1;
1671
  $print_post        = 1;
1672

  
1673
  map { delete $form->{$_} } qw(printed emailed queued);
1670
  $print_post = 1;
1674 1671

  
1675 1672
  &post;
1676 1673

  
bin/mozilla/oe.pl
2538 2538
sub e_mail {
2539 2539
  $lxdebug->enter_sub();
2540 2540

  
2541
  $form->{saveasnew}      = 1;
2542
  $form->{closed}         = 0;
2543 2541
  $form->{print_and_save} = 1;
2544
  map { delete $form->{$_} } qw(printed emailed queued);
2545

  
2546
  # Let Lx-Office assign a new order number if the user hasn't changed the
2547
  # previous one. If it has been changed manually then use it as-is.
2548
  my $idx = $form->{type} =~ /_quotation$/ ? "quonumber" : "ordnumber";
2549
  if ($form->{saved_xyznumber} &&
2550
      ($form->{saved_xyznumber} eq $form->{$idx})) {
2551
    delete($form->{$idx});
2552
  }
2553 2542

  
2554 2543
  &save;
2555 2544

  

Auch abrufbar als: Unified diff