Lines 3160-3165
sub AddRenewal {
Link Here
|
3160 |
DelUniqueDebarment({ borrowernumber => $borrowernumber, type => 'OVERDUES' }); |
3160 |
DelUniqueDebarment({ borrowernumber => $borrowernumber, type => 'OVERDUES' }); |
3161 |
} |
3161 |
} |
3162 |
|
3162 |
|
|
|
3163 |
# Add renewal record |
3164 |
my $renewal = Koha::Checkouts::Renewal->new( |
3165 |
{ |
3166 |
issue_id => $issue->issue_id, |
3167 |
renewer_id => C4::Context->userenv->{'number'}, |
3168 |
seen => $seen, |
3169 |
interface => C4::Context->interface |
3170 |
} |
3171 |
)->store(); |
3172 |
|
3163 |
# Add the renewal to stats |
3173 |
# Add the renewal to stats |
3164 |
C4::Stats::UpdateStats( |
3174 |
C4::Stats::UpdateStats( |
3165 |
{ |
3175 |
{ |
3166 |
- |
|
|