X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/83b3264ad318cd10b8247f4f553694be075b60d3..b3501bdfd1971fd17d06e47cdf994c7545c3c13c:/bin/mozilla/is.pl diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 857e60409..db2d4b43e 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -1343,6 +1343,7 @@ sub post_payment { ($form->{AR}) = split /--/, $form->{AR}; ($form->{AR_paid}) = split /--/, $form->{AR_paid}; + relink_accounts(); $form->redirect($locale->text(' Payment posted!')) if (IS->post_payment(\%myconfig, \%$form)); $form->error($locale->text('Cannot post payment!')); @@ -1409,6 +1410,7 @@ sub post { $form->{invnumber} = $form->update_defaults(\%myconfig, "invnumber"); } } + relink_accounts(); if ($print_post) { if (!(IS->post_invoice(\%myconfig, \%$form))) { $form->error($locale->text('Cannot post invoice!'));