From: Moritz Bunkus Date: Fri, 12 Dec 2008 12:32:41 +0000 (+0000) Subject: Stornierte Rechnung und Stornorechnung falsch herum markiert in der Typ-Spalte. X-Git-Tag: release-2.6.0beta2~219 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2654e8ee56337d0e140dcf8bfb314ecf1ae655b0;p=kivitendo-erp.git Stornierte Rechnung und Stornorechnung falsch herum markiert in der Typ-Spalte. --- diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl index 0eeafff95..efd4c3245 100644 --- a/bin/mozilla/ar.pl +++ b/bin/mozilla/ar.pl @@ -1583,8 +1583,8 @@ sub ar_transactions { map { $ar->{$_} = $form->format_amount(\%myconfig, $ar->{$_}, 2) } qw(netamount tax amount paid due marge_total marge_percent); - my $is_storno = $ar->{storno} && !$ar->{storno_id}; - my $has_storno = $ar->{storno} && $ar->{storno_id}; + my $is_storno = $ar->{storno} && $ar->{storno_id}; + my $has_storno = $ar->{storno} && !$ar->{storno_id}; $ar->{type} = $has_storno ? $locale->text("Invoice with Storno (abbreviation)") :