diff --git a/circ/overdue.pl b/circ/overdue.pl index 9e96c4c013..69750c6bcd 100755 --- a/circ/overdue.pl +++ b/circ/overdue.pl @@ -311,11 +311,6 @@ if ($noreport) { my $pattrs = $borrowernumber_to_attributes{$data->{borrowernumber}} || {}; # patron attrs for this borrower # $pattrs is a hash { attrcode => [ [value,displayvalue], [value,displayvalue]... ] } - my $return_claim_created_on = $data->{return_claim_created_on}; - if ( defined $return_claim_created_on ) { - $return_claim_created_on = output_pref({ dt => dt_from_string($return_claim_created_on ) }); - } - my @patron_attr_value_loop; # template array [ {value=>v1}, {value=>v2} ... } ] for my $pattr_filter (grep { ! $_->{isclone} } @patron_attr_filter_loop) { my @displayvalues = map { $_->[1] } @{ $pattrs->{$pattr_filter->{code}} }; # grab second value from each subarray @@ -355,7 +350,7 @@ if ($noreport) { itemcallnumber => $data->{itemcallnumber}, replacementprice => $data->{replacementprice}, itemnotes_nonpublic => $data->{itemnotes_nonpublic}, - return_claim_created_on => $return_claim_created_on, + return_claim_created_on => $data->{return_claim_created_on}, return_claim_id => $data->{return_claim_id}, enumchron => $data->{enumchron}, itemtype => $data->{itype}, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt index 3926f80d0b..04b43cd210 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt @@ -122,7 +122,7 @@