From 0b8580e2a6e53102b619eb36a059a6d5be9e28c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 24 May 2007 15:43:45 +0000 Subject: [PATCH] Codekosmetik --- bin/mozilla/gl.pl | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl index b14fb6f3a..a086f5784 100644 --- a/bin/mozilla/gl.pl +++ b/bin/mozilla/gl.pl @@ -1491,8 +1491,7 @@ sub form_footer { $radieren = ($form->current_date(\%myconfig) eq $form->{gldate}) ? 1 : 0; map { - $form->{$_} = - $form->format_amount(\%myconfig, $form->{$_}, 2, " ") + $form->{$_} = $form->format_amount(\%myconfig, $form->{$_}, 2, " ") } qw(totaldebit totalcredit); print qq| @@ -1521,30 +1520,21 @@ sub form_footer { if ($form->{id}) { if (!$form->{storno}) { - print qq||; + print qq||; } # Löschen und Ändern von Buchungen nicht mehr möglich (GoB) nur am selben Tag möglich - if (!$form->{locked} && $radieren) { print qq| - - |; + + |; } - # if ($transdate > $closedto) { - # print qq| - # |; - # } } else { if ($transdate > $closedto) { - print qq| - |; + print qq| + + |; } } -- 2.20.1