X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fir.pl;h=022c858406cae22b08af05b92bf93ba459170975;hb=63bbdf6f7785384051cdb61b6ef906e4344f48b6;hp=ce28fff922f17eaaf9eda6f1e9e797fd0259b968;hpb=94e11003809e9090514026a733e58e72e636a6bb;p=kivitendo-erp.git diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index ce28fff92..022c85840 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -226,6 +226,8 @@ sub form_header { $auth->assert('vendor_invoice_edit'); + push @{ $form->{AJAX} }, CGI::Ajax->new('set_duedate_vendor' => "$form->{script}?action=set_duedate_vendor"); + # set option selected foreach $item (qw(AP vendor currency department)) { $form->{"select$item"} =~ s/ selected//; @@ -389,11 +391,18 @@ sub form_header { $jsscript = ""; $button1 = qq| -