X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=bin%2Fmozilla%2Fcp.pl;h=8e31a8f1a588b7ea300f32f2aa65ef978c4a3f80;hb=7712480e4a082f84a2229f5b1a90d79a6c01255b;hp=4decb86c3adf5c038de209f478cc4f63db58f9c1;hpb=ee072e4f077213bf6f8792ca8f0a1afebbb6282f;p=kivitendo-erp.git
diff --git a/bin/mozilla/cp.pl b/bin/mozilla/cp.pl
index 4decb86c3..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|>
@@ -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|