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