Lines 1677-1683
sub AddIssue {
Link Here
|
1677 |
)->store; |
1677 |
)->store; |
1678 |
} |
1678 |
} |
1679 |
$issue->discard_changes; |
1679 |
$issue->discard_changes; |
1680 |
C4::Auth::track_login_daily( $patron->userid ); |
1680 |
C4::Auth::track_login_daily( $patron->userid, 'check_out' ); |
1681 |
if ( $item_object->location && $item_object->location eq 'CART' |
1681 |
if ( $item_object->location && $item_object->location eq 'CART' |
1682 |
&& ( !$item_object->permanent_location || $item_object->permanent_location ne 'CART' ) ) { |
1682 |
&& ( !$item_object->permanent_location || $item_object->permanent_location ne 'CART' ) ) { |
1683 |
## Item was moved to cart via UpdateItemLocationOnCheckin, anything issued should be taken off the cart. |
1683 |
## Item was moved to cart via UpdateItemLocationOnCheckin, anything issued should be taken off the cart. |
Lines 2494-2500
sub AddReturn {
Link Here
|
2494 |
|
2494 |
|
2495 |
logaction("CIRCULATION", "RETURN", $borrowernumber, $item->itemnumber) |
2495 |
logaction("CIRCULATION", "RETURN", $borrowernumber, $item->itemnumber) |
2496 |
if C4::Context->preference("ReturnLog"); |
2496 |
if C4::Context->preference("ReturnLog"); |
2497 |
} |
2497 |
|
|
|
2498 |
#Update borrowers.lastseen |
2499 |
C4::Auth::track_login_daily( $patron->userid, 'check_in' ); |
2500 |
} |
2498 |
|
2501 |
|
2499 |
# Check if this item belongs to a biblio record that is attached to an |
2502 |
# Check if this item belongs to a biblio record that is attached to an |
2500 |
# ILL request, if it is we need to update the ILL request's status |
2503 |
# ILL request, if it is we need to update the ILL request's status |
Lines 3343-3348
sub AddRenewal {
Link Here
|
3343 |
interface => C4::Context->interface, |
3346 |
interface => C4::Context->interface, |
3344 |
} |
3347 |
} |
3345 |
); |
3348 |
); |
|
|
3349 |
#Update borrowers.lastseen |
3350 |
C4::Auth::track_login_daily( $patron_unblessed->{userid}, 'renewal' ); |
3346 |
|
3351 |
|
3347 |
#Log the renewal |
3352 |
#Log the renewal |
3348 |
logaction("CIRCULATION", "RENEWAL", $borrowernumber, $itemnumber) if C4::Context->preference("RenewalLog"); |
3353 |
logaction("CIRCULATION", "RENEWAL", $borrowernumber, $itemnumber) if C4::Context->preference("RenewalLog"); |