projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pfadkomponenten entfernen, bevor exec aufgerufen wird, damit nicht beliebige Perlscri...
[kivitendo-erp.git]
/
bin
/
mozilla
/
ar.pl
diff --git
a/bin/mozilla/ar.pl
b/bin/mozilla/ar.pl
index
f755bbc
..
305b6aa
100644
(file)
--- 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);
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)") :
$ar->{type} =
$has_storno ? $locale->text("Invoice with Storno (abbreviation)") :