Lines 3212-3217
sub AddRenewal {
Link Here
|
3212 |
DelUniqueDebarment({ borrowernumber => $borrowernumber, type => 'OVERDUES' }); |
3212 |
DelUniqueDebarment({ borrowernumber => $borrowernumber, type => 'OVERDUES' }); |
3213 |
} |
3213 |
} |
3214 |
|
3214 |
|
|
|
3215 |
# Add renewal record |
3216 |
my $renewal = Koha::Checkouts::Renewal->new( |
3217 |
{ |
3218 |
issue_id => $issue->issue_id, |
3219 |
renewer_id => C4::Context->userenv->{'number'}, |
3220 |
seen => $seen, |
3221 |
interface => C4::Context->interface |
3222 |
} |
3223 |
)->store(); |
3224 |
|
3215 |
# Add the renewal to stats |
3225 |
# Add the renewal to stats |
3216 |
C4::Stats::UpdateStats( |
3226 |
C4::Stats::UpdateStats( |
3217 |
{ |
3227 |
{ |
3218 |
- |
|
|