X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fdn.pl;h=8008f25cac4137e391db24bc115d44c4cb61b93c;hb=88f11e29e4262e1e567f5b48e10bfe51eb5759ea;hp=725aed997c78b2139c99d8bc72309a720e8c8924;hpb=be4e11d36f40d90622fdf35eb07ab207422b5455;p=kivitendo-erp.git diff --git a/bin/mozilla/dn.pl b/bin/mozilla/dn.pl index 725aed997..8008f25ca 100644 --- a/bin/mozilla/dn.pl +++ b/bin/mozilla/dn.pl @@ -31,518 +31,142 @@ # #====================================================================== +use POSIX qw(strftime); + use SL::IS; use SL::PE; use SL::DN; -use Data::Dumper; +use SL::DB::Dunning; +use SL::Helper::Flash qw(flash); +use SL::Locale::String qw(t8); +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(); - - # 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|