Lines 1676-1682
sub AddIssue {
Link Here
|
1676 |
)->store; |
1676 |
)->store; |
1677 |
} |
1677 |
} |
1678 |
$issue->discard_changes; |
1678 |
$issue->discard_changes; |
1679 |
C4::Auth::track_login_daily( $borrower->{userid} ); |
1679 |
C4::Auth::track_login_daily( $borrower->{userid}, 'check_out' ); |
1680 |
if ( $item_object->location && $item_object->location eq 'CART' |
1680 |
if ( $item_object->location && $item_object->location eq 'CART' |
1681 |
&& ( !$item_object->permanent_location || $item_object->permanent_location ne 'CART' ) ) { |
1681 |
&& ( !$item_object->permanent_location || $item_object->permanent_location ne 'CART' ) ) { |
1682 |
## Item was moved to cart via UpdateItemLocationOnCheckin, anything issued should be taken off the cart. |
1682 |
## Item was moved to cart via UpdateItemLocationOnCheckin, anything issued should be taken off the cart. |
Lines 2469-2475
sub AddReturn {
Link Here
|
2469 |
|
2469 |
|
2470 |
logaction("CIRCULATION", "RETURN", $borrowernumber, $item->itemnumber) |
2470 |
logaction("CIRCULATION", "RETURN", $borrowernumber, $item->itemnumber) |
2471 |
if C4::Context->preference("ReturnLog"); |
2471 |
if C4::Context->preference("ReturnLog"); |
2472 |
} |
2472 |
|
|
|
2473 |
#Update borrowers.lastseen |
2474 |
C4::Auth::track_login_daily( $patron->userid, 'check_in' ); |
2475 |
} |
2473 |
|
2476 |
|
2474 |
# Check if this item belongs to a biblio record that is attached to an |
2477 |
# Check if this item belongs to a biblio record that is attached to an |
2475 |
# ILL request, if it is we need to update the ILL request's status |
2478 |
# ILL request, if it is we need to update the ILL request's status |
Lines 3307-3312
sub AddRenewal {
Link Here
|
3307 |
interface => C4::Context->interface, |
3310 |
interface => C4::Context->interface, |
3308 |
} |
3311 |
} |
3309 |
); |
3312 |
); |
|
|
3313 |
#Update borrowers.lastseen |
3314 |
C4::Auth::track_login_daily( $patron_unblessed->{userid}, 'renewal' ); |
3310 |
|
3315 |
|
3311 |
#Log the renewal |
3316 |
#Log the renewal |
3312 |
logaction("CIRCULATION", "RENEWAL", $borrowernumber, $itemnumber) if C4::Context->preference("RenewalLog"); |
3317 |
logaction("CIRCULATION", "RENEWAL", $borrowernumber, $itemnumber) if C4::Context->preference("RenewalLog"); |