From 79b00e8532108412d84fbcbafbfae3b6138649d2 Mon Sep 17 00:00:00 2001
From: Philip Reetz
Date: Thu, 7 Jun 2007 14:18:32 +0000
Subject: [PATCH] Uebernahme auch bei Einkaufsrechnungen
---
bin/mozilla/ir.pl | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl
index ca0e19f8d..386fb463e 100644
--- a/bin/mozilla/ir.pl
+++ b/bin/mozilla/ir.pl
@@ -220,6 +220,13 @@ sub form_header {
s/option>\Q$form->{$item}\E/option selected>$form->{$item}/;
}
+ if ($form->{old_employee_id}) {
+ $form->{employee_id} = $form->{old_employee_id};
+ }
+ if ($form->{old_salesman_id}) {
+ $form->{salesman_id} = $form->{old_salesman_id};
+ }
+
$form->{radier} =
($form->current_date(\%myconfig) eq $form->{gldate}) ? 1 : 0;
--
2.20.1