X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/72539cb39a3d19f930a8e0e41e46bf41afe9a8f1..40782548cf82ac1e4c0fe417113a4cb3072e9390:/bin/mozilla/rc.pl diff --git a/bin/mozilla/rc.pl b/bin/mozilla/rc.pl index 2a1742974..6634aff6b 100644 --- a/bin/mozilla/rc.pl +++ b/bin/mozilla/rc.pl @@ -33,6 +33,8 @@ use SL::RC; +require "bin/mozilla/common.pl"; + 1; # end of main @@ -48,6 +50,7 @@ sub reconciliation { $form->{title} = $locale->text('Reconciliation'); + $form->{"jsscript"} = 1; $form->header; print qq| @@ -70,9 +73,11 @@ sub reconciliation { | . $locale->text('From') . qq| - - | . $locale->text('To') . qq| - + + + | . $locale->text('Until') . qq| + + @@ -82,6 +87,10 @@ sub reconciliation { +| . $form->write_trigger(\%myconfig, 2, + "fromdate", "BL", "trigger_fromdate", + "todate", "BL", "trigger_todate") . qq| +
@@ -101,7 +110,7 @@ sub reconciliation { $lxdebug->leave_sub(); } -sub continue { &{ $form->{nextsub} } } +sub continue { call_sub($form->{"nextsub"}); } sub get_payments { $lxdebug->enter_sub(); @@ -147,13 +156,13 @@ sub display_form { $option .= "\n
" if ($option); $option .= $locale->text('From') . " " - . $locale->date(\%myconfig, $form->{fromdate}, 1); + . $locale->date(\%myconfig, $form->{fromdate}, 0); } if ($form->{todate}) { $option .= "\n
" if ($option); $option .= - $locale->text('To') . " " - . $locale->date(\%myconfig, $form->{todate}, 1); + $locale->text('Until') . " " + . $locale->date(\%myconfig, $form->{todate}, 0); } $form->{title} = "$form->{accno}--$form->{account}"; @@ -369,14 +378,8 @@ sub display_form { |; + . $locale->text('Done') . qq|"> - if ($form->{menubar}) { - require "$form->{path}/menu.pl"; - &menubar; - } - - print qq|