Bei der Liste der Einkaufsrechnungen den Typ anzeigen: "R" für Einkaufsrechnungen...
[kivitendo-erp.git] / bin / mozilla / ir.pl
index 3335493..f3d0260 100644 (file)
@@ -969,7 +969,7 @@ sub update {
 
 sub storno {
   $lxdebug->enter_sub();
-use CGI::Carp qw(fatalsToBrowser);
+
   if ($form->{storno}) {
     $form->error($locale->text('Cannot storno storno invoice!'));
   }
@@ -1040,6 +1040,7 @@ sub post_payment {
                # saving the history
       $form->{snumbers} = qq|invnumber_| . $form->{invnumber};  
                $form->{addition} = "PAYMENT POSTED";
+      $form->{what_done} = $form->{currency} . qq| | . $form->{paid} . qq| | . $locale->text("POSTED");
                $form->save_history($form->dbconnect(\%myconfig));
                # /saving the history 
                $form->redirect($locale->text(' Payment posted!'));