X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Far.pl;h=305b6aaade5245bac75ae6ea1e70ad5abea8ea1e;hb=e436a6b05600897aed8c5420d44bf4e1b39cb74f;hp=f755bbc15fd70527894072e4686b166a44e3e9bf;hpb=18da4a96827fd65559a6f64334c3d8a313884f84;p=kivitendo-erp.git diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl index f755bbc15..305b6aaad 100644 --- a/bin/mozilla/ar.pl +++ b/bin/mozilla/ar.pl @@ -1534,8 +1534,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} && IS->is_storno(\%myconfig, $form, 'ar'); - my $has_storno = $ar->{storno} && !$is_storno; + 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)") :