projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1168af
)
Einkaufs-/Verkaufsmasken: Zahlungsbedingungen bei Kunden-/Lieferantenwechsel resetten
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 28 Oct 2015 14:49:03 +0000
(15:49 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 28 Oct 2015 14:49:03 +0000
(15:49 +0100)
Das ist in
5bc87ade
kaputt gegangen.
bin/mozilla/arap.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/arap.pl
b/bin/mozilla/arap.pl
index
2a034d8
..
75764a4
100644
(file)
--- a/
bin/mozilla/arap.pl
+++ b/
bin/mozilla/arap.pl
@@
-77,6
+77,8
@@
sub check_name {
$form->{"${name}_id"} = $new_id;
_reset_salesman_id();
+ delete @{ $form }{qw(payment_id)};
+
IS->get_customer(\%myconfig, \%$form) if ($name eq 'customer');
IR->get_vendor(\%myconfig, \%$form) if ($name eq 'vendor');
@@
-119,6
+121,8
@@
sub check_name {
$form->{"old$name"} = qq|$form->{$name}--$form->{"${name}_id"}|;
_reset_salesman_id();
+ delete @{ $form }{qw(payment_id)};
+
IS->get_customer(\%myconfig, \%$form) if ($name eq 'customer');
IR->get_vendor(\%myconfig, \%$form) if ($name eq 'vendor');