]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/ar.pl
DATEV-Schnittstelle: Auslagerung von KNE-Schreibfunktionen in eigenes Modul. Kosmetik...
[mfinanz.git] / bin / mozilla / ar.pl
index 0eeafff9579c0d23c1e2aba68b3d28f1186ad4cf..efd4c32452df41cd0662297669f333806b8051a0 100644 (file)
@@ -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)") :