X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fcp.pl;h=8e31a8f1a588b7ea300f32f2aa65ef978c4a3f80;hb=84da0ba2f48ac09652557a5aca1a912b06fb0b0b;hp=4decb86c3adf5c038de209f478cc4f63db58f9c1;hpb=0576299f2aa98125991c4ffcd2f75073ea583d7d;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|