Lines 441-446
sub charge_denied {
Link Here
|
441 |
return "Please contact library staff"; |
441 |
return "Please contact library staff"; |
442 |
} |
442 |
} |
443 |
|
443 |
|
|
|
444 |
=head2 update_lastseen |
445 |
|
446 |
$patron->update_lastseen(); |
447 |
|
448 |
Patron method to update lastseen field in borrower |
449 |
to record that patron has been seen via sip connection |
450 |
|
451 |
=cut |
452 |
|
453 |
sub update_lastseen { |
454 |
my $self = shift; |
455 |
my $p; |
456 |
if (C4::Context->preference('TrackLastPatronActivity') |
457 |
&& $p = Koha::Patrons->find({ borrowernumber => $self->{borrowernumber} })) { |
458 |
$p->track_login; |
459 |
} |
460 |
return; |
461 |
} |
462 |
|
444 |
sub _get_address { |
463 |
sub _get_address { |
445 |
my $patron = shift; |
464 |
my $patron = shift; |
446 |
|
465 |
|