X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fcp.pl;h=8e31a8f1a588b7ea300f32f2aa65ef978c4a3f80;hb=7712480e4a082f84a2229f5b1a90d79a6c01255b;hp=314b329418c552208ef546cd86169a6d4d4d96c6;hpb=d319704a66e9be64da837ccea10af6774c2b0838;p=kivitendo-erp.git diff --git a/bin/mozilla/cp.pl b/bin/mozilla/cp.pl index 314b32941..8e31a8f1a 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|> @@ -316,7 +313,7 @@ sub form_header { - + $jsscript |; @@ -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|