]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Template/Plugin/LxERP.pm
Beim Dialogbuchen die Kontensalden zu den jeweils ausgewählten Konten anzeigen. Fix...
[mfinanz.git] / SL / Template / Plugin / LxERP.pm
index accdae080853dfe8e79f2df03f729c58b073b847..d1d93d13c4a6f75e2878314fe07cfe4027af3de1 100644 (file)
@@ -15,9 +15,9 @@ sub new {
 }
 
 sub format_amount {
-  my ($self, $var, $places, $skip_zero) = @_;
+  my ($self, $var, $places, $skip_zero, $dash) = @_;
 
-  return $main::form->format_amount(\%main::myconfig, $var * 1, $places) unless $skip_zero && $var == 0;
+  return $main::form->format_amount(\%main::myconfig, $var * 1, $places, $dash) unless $skip_zero && $var == 0;
   return '';
 }
 
@@ -62,7 +62,7 @@ sub _turn90_word {
   my $self = shift;
   my $word = shift || "";
 
-  return join '<br>', map { $locale->quote_special_chars('HTML', $_) } split(m//, $word);
+  return join '<br>', map { $main::locale->quote_special_chars('HTML', $_) } split(m//, $word);
 }
 
 sub turn90 {