From: Moritz Bunkus Date: Thu, 7 Dec 2006 13:20:15 +0000 (+0000) Subject: Kosmetik: Einrückung. X-Git-Tag: release-2.4.0^2~108 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a36907a061a1171921dbd583418bf9852c064f75;p=kivitendo-erp.git Kosmetik: Einrückung. --- diff --git a/SL/AM.pm b/SL/AM.pm index 0757ee6d1..01167eebe 100644 --- a/SL/AM.pm +++ b/SL/AM.pm @@ -1019,7 +1019,7 @@ sub get_buchungsgruppe { description => $ref->{description}, selected => "selected", id => $ref->{id} }; - } else { + } else { push @{ $form->{"${module}_links"}{$key} }, { accno => $ref->{accno}, description => $ref->{description}, @@ -1939,16 +1939,14 @@ sub closebooks { $query = qq|UPDATE defaults SET closedto = NULL, revtrans = '1'|; - } else { - if ($form->{closedto}) { + } elsif ($form->{closedto}) { - $query = qq|UPDATE defaults SET closedto = '$form->{closedto}', + $query = qq|UPDATE defaults SET closedto = '$form->{closedto}', revtrans = '0'|; - } else { + } else { - $query = qq|UPDATE defaults SET closedto = NULL, + $query = qq|UPDATE defaults SET closedto = NULL, revtrans = '0'|; - } } # set close in defaults