From 2654e8ee56337d0e140dcf8bfb314ecf1ae655b0 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 12 Dec 2008 12:32:41 +0000 Subject: [PATCH] Stornierte Rechnung und Stornorechnung falsch herum markiert in der Typ-Spalte. --- bin/mozilla/ar.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)") : -- 2.20.1