X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fcp.pl;h=2e58c8f833cad333b921c96cd5b7664d05596744;hb=98ad02ca3b8d9e9c00775b4768e7060388efbed1;hp=6cde7f8971b23691ac45b897d50c6e83c84817f8;hpb=cd5afcd8835e4c8e625aea2a0a2a2edf86bf5653;p=kivitendo-erp.git diff --git a/bin/mozilla/cp.pl b/bin/mozilla/cp.pl index 6cde7f897..2e58c8f83 100644 --- a/bin/mozilla/cp.pl +++ b/bin/mozilla/cp.pl @@ -87,7 +87,7 @@ sub payment { } @{ $form->{PR}{ $form->{ARAP} } }; # currencies - @curr = split /:/, $form->{currencies}; + @curr = split(/:/, $form->{currencies}); chomp $curr[0]; $form->{defaultcurrency} = $form->{currency} = $form->{oldcurrency} = $curr[0]; @@ -185,8 +185,7 @@ sub form_header { $button1 = qq| text('button') - . qq|> + . $locale->text('button') . qq|> |; #write Trigger @@ -306,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|> @@ -365,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"}; @@ -444,12 +443,12 @@ sub form_footer { $media = qq|