X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/19fb04d1cfad224a0f0c4c3b88494b4605fc6d4e..69e526ee5:/bin/mozilla/rp.pl diff --git a/bin/mozilla/rp.pl b/bin/mozilla/rp.pl index 845b1be3d..e6543fecd 100644 --- a/bin/mozilla/rp.pl +++ b/bin/mozilla/rp.pl @@ -43,11 +43,11 @@ use SL::DB::Project; use SL::DB::Customer; use SL::RP; use SL::Iconv; +use SL::Locale::String qw(t8); use SL::ReportGenerator; use Data::Dumper; use List::MoreUtils qw(any); -require "bin/mozilla/arap.pl"; require "bin/mozilla/common.pl"; require "bin/mozilla/reportgenerator.pl"; @@ -165,6 +165,7 @@ sub report { my $is_trial_balance = $::form->{report} eq "trial_balance"; my $is_aging = $::form->{report} =~ /^a[rp]_aging$/; my $is_payments = $::form->{report} =~ /(receipts|payments)$/; + my $format = 'html'; my ($label, $nextsub, $vc); if ($is_aging) { @@ -174,12 +175,9 @@ sub report { $nextsub = "generate_$::form->{report}"; - # setup vc selection - $::form->all_vc(\%::myconfig, $::form->{vc}, $is_sales ? "AR" : "AP"); - $vc .= "