X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fca.pl;h=23de61bcaa428e6e5315287d1c367361970ae749;hb=8365e092eb2088a8c2ebba604783555a13dc2a57;hp=faac8cc74381c43db1d47669b4d78e2db86b8009;hpb=38320021c5afe1183ce603c018e23c61ce6f492a;p=kivitendo-erp.git
diff --git a/bin/mozilla/ca.pl b/bin/mozilla/ca.pl
index faac8cc74..23de61bca 100644
--- a/bin/mozilla/ca.pl
+++ b/bin/mozilla/ca.pl
@@ -410,13 +410,13 @@ sub list_transactions {
$totaldebit += $ca->{debit};
$totalcredit += $ca->{credit};
- $column_data{transdate} = ($ca->{"reference"} ne $last || $form->{sort} ne "transdate") ? qq|
$ca->{transdate} | | : qq| | |;
- $column_data{reference} = ($ca->{"reference"} ne $last) ? qq|$href | | : qq| | |;
- $column_data{description} = ($ca->{"reference"} ne $last) ? qq|$ca->{description} | | : qq| | |;
+ $column_data{transdate} = ($ca->{"index"} ne $last || $form->{sort} ne "transdate") ? qq|$ca->{transdate} | | : qq| | |;
+ $column_data{reference} = ($ca->{"index"} ne $last) ? qq|$href | | : qq| | |;
+ $column_data{description} = ($ca->{"index"} ne $last) ? qq|$ca->{description} | | : qq| | |;
- $i++ if($ca->{"reference"} ne $last);
+ $i++ if($ca->{"index"} ne $last);
$i %= 2;
- $last=$ca->{"reference"};
+ $last=$ca->{"index"};
print qq|
|;