Bugzilla – Attachment 66703 Details for
Bug 19076
Renewal via Checkout screen is logged as both a renewal and a checkout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19076 - followup - delete fines from additional renewal
Bug-19076---followup---delete-fines-from-additiona.patch (text/plain), 1.18 KB, created by
Julian Maurice
on 2017-09-01 10:44:20 UTC
(
hide
)
Description:
Bug 19076 - followup - delete fines from additional renewal
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2017-09-01 10:44:20 UTC
Size:
1.18 KB
patch
obsolete
>From 08f02af33cdc4e9228516d3a7ba51e78bd732e31 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 11 Aug 2017 15:39:53 +0000 >Subject: [PATCH] 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> >--- > t/db_dependent/Circulation.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t >index c724883bf4..7f85ad635c 100755 >--- a/t/db_dependent/Circulation.t >+++ b/t/db_dependent/Circulation.t >@@ -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); >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19076
:
65829
|
65830
|
65907
|
65908
|
65916
|
65939
|
66701
|
66702
| 66703