From c5fa1d85e9034725d2e58e1e33b663ea2a4a3882 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Thu, 25 Jun 2015 16:40:26 +0200 Subject: [PATCH] history - bei parts what_done mit abspeichern MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Verhalten von what_done an andere history-Einträge angepasst. --- bin/mozilla/ic.pl | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index f83d42a53..7accb4bba 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -1915,8 +1915,9 @@ sub save { } # saving the history if(!exists $form->{addition}) { - $form->{snumbers} = qq|partnumber_| . $form->{partnumber}; - $form->{addition} = "SAVED"; + $form->{snumbers} = qq|partnumber_| . $form->{partnumber}; + $form->{what_done} = "part"; + $form->{addition} = "SAVED"; $form->save_history; } # /saving the history @@ -2043,8 +2044,9 @@ sub save_as_new { # saving the history if(!exists $form->{addition}) { - $form->{snumbers} = qq|partnumber_| . $form->{partnumber}; - $form->{addition} = "SAVED AS NEW"; + $form->{snumbers} = qq|partnumber_| . $form->{partnumber}; + $form->{addition} = "SAVED AS NEW"; + $form->{what_done} = "part"; $form->save_history; } # /saving the history @@ -2064,8 +2066,9 @@ sub delete { # saving the history if(!exists $form->{addition}) { - $form->{snumbers} = qq|partnumber_| . $form->{partnumber}; - $form->{addition} = "DELETED"; + $form->{snumbers} = qq|partnumber_| . $form->{partnumber}; + $form->{addition} = "DELETED"; + $form->{what_done} = "part"; $form->save_history; } # /saving the history -- 2.20.1