X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Farap.pl;h=534a702feffcf03c6e66971267eecb35b469f22c;hb=6dc16826718038718653bb07b130299fe2366e45;hp=8c495f74eb4e35259b59d67ec0f3381feda28193;hpb=e2f6b9d3965445c69b2efb2b3fd4a025b3c1b37c;p=kivitendo-erp.git diff --git a/bin/mozilla/arap.pl b/bin/mozilla/arap.pl index 8c495f74e..534a702fe 100644 --- a/bin/mozilla/arap.pl +++ b/bin/mozilla/arap.pl @@ -49,13 +49,12 @@ sub check_name { my ($new_name, $new_id) = split /--/, $form->{$name}; my $i = 0; - # if we use a selection if ($form->{"select$name"}) { if ($form->{"old$name"} ne $form->{$name}) { # this is needed for is, ir and oe - + $form->{update} = 0; # for credit calculations $form->{oldinvtotal} = 0; $form->{oldtotalpaid} = 0; @@ -76,6 +75,7 @@ sub check_name { if ($form->{"old$name"} ne qq|$form->{$name}--$form->{"${name}_id"}|) { # this is needed for is, ir and oe + $form->{update} = 0; # for credit calculations $form->{oldinvtotal} = 0; @@ -106,6 +106,7 @@ sub check_name { } } } + $form->language_payment(\%myconfig); $lxdebug->leave_sub();