Adds a check for a NULL xact_finish to the CircIsOpen validator. The
result is that overdue notification a/t events for Long Overdue items that
have been paid for, and the transaction closed, will be invalid.
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
my $env = shift;
return 0 if (defined($env->{target}->checkin_time));
+ return 0 if (defined($env->{target}->xact_finish));
if ($env->{params}->{min_target_age}) {
$env->{params}->{target_age_field} = 'xact_start';