X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fcp.pl;h=f5e2805a334665294a5eb895cce12e81a0b2999e;hb=6dc16826718038718653bb07b130299fe2366e45;hp=4decb86c3adf5c038de209f478cc4f63db58f9c1;hpb=ee072e4f077213bf6f8792ca8f0a1afebbb6282f;p=kivitendo-erp.git diff --git a/bin/mozilla/cp.pl b/bin/mozilla/cp.pl index 4decb86c3..f5e2805a3 100644 --- a/bin/mozilla/cp.pl +++ b/bin/mozilla/cp.pl @@ -185,14 +185,12 @@ sub form_header { $button1 = qq| text('button') - . qq|> + . $locale->text('button') . qq|> |; #write Trigger $jsscript = - Form->write_trigger(\%myconfig, "1", "datepaid", "BL", "trigger1", "", - "", ""); + Form->write_trigger(\%myconfig, "1", "datepaid", "BL", "trigger1"); } else { # without JavaScript Calendar @@ -307,8 +305,7 @@ sub form_header { | . $locale->text('Amount') . qq| format_amount(\%myconfig, $form->{amount}, 2) - . qq|> + . $form->format_amount(\%myconfig, $form->{amount}, 2) . qq|> @@ -366,7 +363,8 @@ sub list_invoices { for $i (1 .. $form->{rowcount}) { map { - $form->{"${_}_$i"} = $form->parse_amount(\%myconfig, $form->{"${_}_$i"}) + $form->{"${_}_$i"} = + $form->parse_amount(\%myconfig, $form->{"${_}_$i"}) } qw(amount due paid); $totalamount += $form->{"amount_$i"}; @@ -445,12 +443,12 @@ sub form_footer { $media = qq|