]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/ir.pl
history_search auf Buchungsnummern etcpp angepasst, so dass man auch gelöschte Daten...
[mfinanz.git] / bin / mozilla / ir.pl
index ac8b955f228ad4b056fc7dcd9e6cf36d2d0aebba..3f8812e1853d5d894ab1d4a700ecf54c17368f04 100644 (file)
@@ -1041,6 +1041,7 @@ sub post_payment {
        
        if(!exists $form->{addition} && $form->{id} ne "") {
                # saving the history
+      $form->{snumbers} = qq|invnumber|;  
                $form->{addition} = "PAYMENT POSTED";
                $form->save_history($form->dbconnect(\%myconfig));
                # /saving the history 
@@ -1104,7 +1105,8 @@ sub post {
   if (IR->post_invoice(\%myconfig, \%$form)){
        # saving the history
        if(!exists $form->{addition} && $form->{id} ne "") {
-               $form->{addition} = "POSTED";
+               $form->{snumbers} = qq|invnumber|;
+      $form->{addition} = "POSTED";
                #$form->{what_done} = $locale->text("Rechnungsnummer") . qq| | . $form->{invnumber};
                $form->save_history($form->dbconnect(\%myconfig));
        }
@@ -1157,6 +1159,7 @@ sub yes {
   if (IR->delete_invoice(\%myconfig, \%$form)) {
     # saving the history
     if(!exists $form->{addition}) {
+      $form->{snumbers} = qq|invnumber|;
          $form->{addition} = "DELETED";
          $form->save_history($form->dbconnect(\%myconfig));
     }