Lines 1682-1688
sub AddIssue {
Link Here
|
1682 |
)->store; |
1682 |
)->store; |
1683 |
} |
1683 |
} |
1684 |
$issue->discard_changes; |
1684 |
$issue->discard_changes; |
1685 |
C4::Auth::track_login_daily( $borrower->{userid} ); |
1685 |
C4::Auth::track_login_daily( $borrower->{userid}, 'check_out' ); |
1686 |
if ( $item_object->location && $item_object->location eq 'CART' |
1686 |
if ( $item_object->location && $item_object->location eq 'CART' |
1687 |
&& ( !$item_object->permanent_location || $item_object->permanent_location ne 'CART' ) ) { |
1687 |
&& ( !$item_object->permanent_location || $item_object->permanent_location ne 'CART' ) ) { |
1688 |
## Item was moved to cart via UpdateItemLocationOnCheckin, anything issued should be taken off the cart. |
1688 |
## Item was moved to cart via UpdateItemLocationOnCheckin, anything issued should be taken off the cart. |
Lines 2475-2481
sub AddReturn {
Link Here
|
2475 |
|
2475 |
|
2476 |
logaction("CIRCULATION", "RETURN", $borrowernumber, $item->itemnumber) |
2476 |
logaction("CIRCULATION", "RETURN", $borrowernumber, $item->itemnumber) |
2477 |
if C4::Context->preference("ReturnLog"); |
2477 |
if C4::Context->preference("ReturnLog"); |
2478 |
} |
2478 |
|
|
|
2479 |
#Update borrowers.lastseen |
2480 |
C4::Auth::track_login_daily( $patron->userid, 'check_in' ); |
2481 |
} |
2479 |
|
2482 |
|
2480 |
# Check if this item belongs to a biblio record that is attached to an |
2483 |
# Check if this item belongs to a biblio record that is attached to an |
2481 |
# ILL request, if it is we need to update the ILL request's status |
2484 |
# ILL request, if it is we need to update the ILL request's status |
Lines 3323-3328
sub AddRenewal {
Link Here
|
3323 |
interface => C4::Context->interface, |
3326 |
interface => C4::Context->interface, |
3324 |
} |
3327 |
} |
3325 |
); |
3328 |
); |
|
|
3329 |
#Update borrowers.lastseen |
3330 |
C4::Auth::track_login_daily( $patron_unblessed->{userid}, 'renewal' ); |
3326 |
|
3331 |
|
3327 |
#Log the renewal |
3332 |
#Log the renewal |
3328 |
logaction("CIRCULATION", "RENEWAL", $borrowernumber, $itemnumber) if C4::Context->preference("RenewalLog"); |
3333 |
logaction("CIRCULATION", "RENEWAL", $borrowernumber, $itemnumber) if C4::Context->preference("RenewalLog"); |