X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=bin%2Fmozilla%2Fdn.pl;h=6c3492b983ed66260d4a624c69aa36d67a31f901;hb=5bafcdd75fe8da638a141cfd42e3cd450a675cd2;hp=2ec5ab005c6396fa56ea57cd9f7304f53f05026c;hpb=8f98fc19d76ab2d20022b3103ac22618bbde5656;p=kivitendo-erp.git diff --git a/bin/mozilla/dn.pl b/bin/mozilla/dn.pl index 2ec5ab005..6c3492b98 100644 --- a/bin/mozilla/dn.pl +++ b/bin/mozilla/dn.pl @@ -31,516 +31,138 @@ # #====================================================================== +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|