Bug 19076 - followup - delete fines from additional renewal
Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
b66b86402c
commit
185927f209
1 changed files with 2 additions and 0 deletions
|
@ -506,6 +506,8 @@ C4::Context->dbh->do("DELETE FROM accountlines");
|
|||
$new_log_size = scalar(@{GetLogs( $date, $date, undef,["CIRCULATION"], ["ISSUE"]) } );
|
||||
is ($new_log_size, $old_issue_log_size, 'renew not logged as issue when renewed via issuing');
|
||||
|
||||
$fines = Koha::Account::Lines->search( { borrowernumber => $renewing_borrower->{borrowernumber}, itemnumber => $itemnumber7 } );
|
||||
$fines->delete();
|
||||
|
||||
t::lib::Mocks::mock_preference('OverduesBlockRenewing','blockitem');
|
||||
( $renewokay, $error ) = CanBookBeRenewed($renewing_borrowernumber, $itemnumber6);
|
||||
|
|
Loading…
Reference in a new issue