Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5427e094

Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt

  • ID 5427e0941067c0b14cfa06b399d7b841fc543403
  • Vorgänger 0c0e2ee2
  • Nachfolger 18d543d0

ap/ar/gl/io.pl: nicht benutzte Routine post_as_new entfernt

Unterschiede anzeigen:

bin/mozilla/ar.pl
858 858
  $main::lxdebug->leave_sub();
859 859
}
860 860

  
861
sub post_as_new {
862
  $main::lxdebug->enter_sub();
863

  
864
  $main::auth->assert('ar_transactions');
865

  
866
  my $form     = $main::form;
867
  my %myconfig = %main::myconfig;
868

  
869
  $form->{postasnew} = 1;
870
  # saving the history
871
  if(!exists $form->{addition} && $form->{id} ne "") {
872
    $form->{snumbers}  = qq|invnumber_| . $form->{invnumber};
873
    $form->{what_done} = "invoice";
874
    $form->{addition}  = "POSTED AS NEW";
875
    $form->save_history;
876
  }
877
  # /saving the history
878
  &post;
879

  
880
  $main::lxdebug->leave_sub();
881
}
882

  
883 861
sub use_as_new {
884 862
  $main::lxdebug->enter_sub();
885 863

  

Auch abrufbar als: Unified diff