X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/0b9fc4e613db11933371e06ccd2f2ed1ca293e38..07a735e0cb464b4cf96617578868957635410ad9:/bin/mozilla/is.pl diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 49b0c1e04..fdcf5e1c4 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -462,6 +462,7 @@ sub form_footer { } } } + $form->{invtotal} = $form->round_amount($form->{invtotal}, 2, 1); # follow ups if ($form->{id}) { @@ -682,6 +683,7 @@ sub post_payment { $main::auth->assert('invoice_edit'); + $form->mtime_ischanged('ar') ; my $invdate = $form->datetonum($form->{invdate}, \%myconfig); $form->{defaultcurrency} = $form->get_default_currency(\%myconfig); @@ -737,6 +739,7 @@ sub post { my $locale = $main::locale; $main::auth->assert('invoice_edit'); + $form->mtime_ischanged('ar'); $form->{defaultcurrency} = $form->get_default_currency(\%myconfig); $form->isblank("invdate", $locale->text('Invoice Date missing!'));