X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fdn.pl;h=e418fa28fff78e7f3c3281898f164eb9c443dabe;hb=d814a525b9f2fbc0bfae5591201d9185d6b1e8f4;hp=88b2cb339bca3071eb1d770cf91724cc75b95531;hpb=8cef58b276ce4005c0e2ada350fecd5d7a103e89;p=kivitendo-erp.git diff --git a/bin/mozilla/dn.pl b/bin/mozilla/dn.pl index 88b2cb339..e418fa28f 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; +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|