X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fdn.pl;h=627f6963340f74c548de25cc519839ecc22383fd;hb=4c2604b36cd37edf2683420c09a117298fe300ea;hp=f0f2a57e240f9a176f4ed97fddc849b3ba1baf2f;hpb=4deefb650e21142416c2d1d2caff98357837964f;p=kivitendo-erp.git diff --git a/bin/mozilla/dn.pl b/bin/mozilla/dn.pl index f0f2a57e2..627f69633 100644 --- a/bin/mozilla/dn.pl +++ b/bin/mozilla/dn.pl @@ -31,516 +31,144 @@ # #====================================================================== +use POSIX; + use SL::IS; use SL::PE; use SL::DN; -use Data::Dumper; +use SL::ReportGenerator; + +require "bin/mozilla/common.pl"; +require "bin/mozilla/reportgenerator.pl"; +require "bin/mozilla/io.pl"; -require "$form->{path}/io.pl"; -require "$form->{path}/arap.pl"; +use strict; 1; sub edit_config { - $lxdebug->enter_sub(); + $main::lxdebug->enter_sub(); - # edit all dunning config data - - $form->header; - DN->get_config(\%myconfig, \%$form); - $form->{title} = $locale->text('Edit Dunning Process Config'); - - $form->{callback} = - "$form->{script}?action=edit_config&path=$form->{path}&login=$form->{login}&password=$form->{password}" - unless $form->{callback}; - - @column_index = qw(dunning_level dunning_description active auto email payment_terms terms fee interest template); - - $column_header{dunning_level} = - qq|