X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fdn.pl;h=715c4b42a3958c0b5f699506e12b1eeae1b34e41;hb=159857657639b948231ecebf44244274c28d4aa5;hp=c1d0f8bf6a1ea2042090bbb045aea36e8452fc37;hpb=595dc614f285c4ad859ab410e2c0e32026dd2dce;p=kivitendo-erp.git diff --git a/bin/mozilla/dn.pl b/bin/mozilla/dn.pl index c1d0f8bf6..715c4b42a 100644 --- a/bin/mozilla/dn.pl +++ b/bin/mozilla/dn.pl @@ -31,531 +31,121 @@ # #====================================================================== +use POSIX; + use SL::IS; use SL::PE; use SL::DN; -use Data::Dumper; +use SL::ReportGenerator; -require "$form->{path}/io.pl"; -require "$form->{path}/arap.pl"; +require "bin/mozilla/common.pl"; +require "bin/mozilla/reportgenerator.pl"; +require "bin/mozilla/io.pl"; 1; sub edit_config { $lxdebug->enter_sub(); - # edit all dunning config data + $auth->assert('config'); - $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|