X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/9c548b6f507a54d562dd47e79d6dcc0893e15da5..c7f9da819e437745d637e714993959e57244655a:/bin/mozilla/am.pl diff --git a/bin/mozilla/am.pl b/bin/mozilla/am.pl index 4f8f3bc8c..87ec9b30d 100644 --- a/bin/mozilla/am.pl +++ b/bin/mozilla/am.pl @@ -413,16 +413,14 @@ sub list_account { foreach $ca (@{ $form->{CA} }) { - $ca->{debit} = " "; - $ca->{credit} = " "; + $ca->{debit} = ""; + $ca->{credit} = ""; if ($ca->{amount} > 0) { - $ca->{credit} = - $form->format_amount(\%myconfig, $ca->{amount}, 2, " "); + $ca->{credit} = $form->format_amount(\%myconfig, $ca->{amount}, 2); } if ($ca->{amount} < 0) { - $ca->{debit} = - $form->format_amount(\%myconfig, -1 * $ca->{amount}, 2, " "); + $ca->{debit} = $form->format_amount(\%myconfig, -1 * $ca->{amount}, 2); } $ca->{heading} = ( $ca->{charttype} eq 'H' ) ? 1:''; $ca->{link_edit_account} = @@ -437,16 +435,16 @@ sub list_account { ."&password=$form->{password}&action=list_account_details&"; - my $pjx = new CGI::Ajax( - 'list_account_details' => $list_account_details_url - ); + my $pjx = new CGI::Ajax('list_account_details' => $list_account_details_url); # Eneable AJAX debuging #$pjx->DEBUG(1); #$pjx->JSDEBUG(1); push(@ { $form->{AJAX} }, $pjx); - + + $form->{stylesheets} = "list_accounts.css"; + $form->header; @@ -455,7 +453,7 @@ sub list_account { }; # Ausgabe des Templates - print($form->parse_html_template('am/list_accounts', $parameters_ref)); + print($form->parse_html_template2('am/list_accounts', $parameters_ref)); $lxdebug->leave_sub();