X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Frp.pl;h=e6543fecd80a37ee9477961d6f3f273588f1d333;hb=9cd9a517be354123f25dcf4d725f500805dcf33d;hp=85799561161ab9e097f226b02788eb337796fb48;hpb=f7b15d4334848fad1bcd0b569eff5139f9a6ba4d;p=kivitendo-erp.git diff --git a/bin/mozilla/rp.pl b/bin/mozilla/rp.pl index 857995611..e6543fecd 100644 --- a/bin/mozilla/rp.pl +++ b/bin/mozilla/rp.pl @@ -41,14 +41,13 @@ use POSIX qw(strftime); use SL::DB::Default; use SL::DB::Project; use SL::DB::Customer; -use SL::PE; 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"; @@ -166,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) { @@ -175,12 +175,9 @@ sub report { $nextsub = "generate_$::form->{report}"; - # setup vc selection - $::form->all_vc(\%::myconfig, $::form->{vc}, $is_sales ? "AR" : "AP"); - $vc .= "