X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fcommon.pl;h=8e374ec51b4b9300cbb3fbe2528e3b57f28aeb07;hb=80a6d456aa9f6222316394a79e3f2f31b6078110;hp=59c2f9481671e2090b4b05617a31b2a9f109eb21;hpb=ddb162b67dbd1c97df9a6f60608dd7cd0ff6f811;p=kivitendo-erp.git diff --git a/bin/mozilla/common.pl b/bin/mozilla/common.pl index 59c2f9481..8e374ec51 100644 --- a/bin/mozilla/common.pl +++ b/bin/mozilla/common.pl @@ -455,6 +455,7 @@ sub show_vc_details { $locale->text("No vendor has been selected yet.")); Common->get_vc_details(\%myconfig, $form, $form->{vc}, $form->{vc_id}); + $form->{discount_as_percent} = $form->format_amount(\%::myconfig, $form->parse_amount(\%::myconfig, $form->{discount}) * 100, 2); $form->{title} = $form->{vc} eq "customer" ? $locale->text("Customer details") : $locale->text("Vendor details");