X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/e0f5deeae4cdcf3faf3bc68a202f20ec6cd9af2e..46b5ee69606969a990eaae920bda522a56374c0e:/bin/mozilla/rp.pl diff --git a/bin/mozilla/rp.pl b/bin/mozilla/rp.pl index 0a1a35227..a4ba678e6 100644 --- a/bin/mozilla/rp.pl +++ b/bin/mozilla/rp.pl @@ -28,7 +28,8 @@ # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +# MA 02110-1335, USA. #====================================================================== # # module for preparing Income Statement and Balance Sheet @@ -40,14 +41,12 @@ 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::ReportGenerator; use Data::Dumper; use List::MoreUtils qw(any); -require "bin/mozilla/arap.pl"; require "bin/mozilla/common.pl"; require "bin/mozilla/reportgenerator.pl"; @@ -102,8 +101,8 @@ use strict; my $rp_access_map = { 'projects' => 'report', - 'ar_aging' => 'general_ledger | ar_transactions', - 'ap_aging' => 'general_ledger | ap_transactions', + 'ar_aging' => 'general_ledger', + 'ap_aging' => 'general_ledger', 'receipts' => 'cash', 'payments' => 'cash', 'trial_balance' => 'report', @@ -174,12 +173,7 @@ sub report { $nextsub = "generate_$::form->{report}"; - # setup vc selection - $::form->all_vc(\%::myconfig, $::form->{vc}, $is_sales ? "AR" : "AP"); - $vc .= "