Bugzilla – Attachment 55261 Details for
Bug 15900
Remove use of recordpayment in ProcessOfflinePayment
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15900 [QA Followup] - Use Koha::Patrons instead of Koha::Borrowers
Bug-15900-QA-Followup---Use-KohaPatrons-instead-of.patch (text/plain), 1.01 KB, created by
Kyle M Hall (khall)
on 2016-09-06 15:08:34 UTC
(
hide
)
Description:
Bug 15900 [QA Followup] - Use Koha::Patrons instead of Koha::Borrowers
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2016-09-06 15:08:34 UTC
Size:
1.01 KB
patch
obsolete
>From bb383014390b4e770a4c60f715e9404bba771707 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 6 Sep 2016 14:08:42 +0000 >Subject: [PATCH] Bug 15900 [QA Followup] - Use Koha::Patrons instead of > Koha::Borrowers > >Since the initial submission of this patch, the module Koha::Borrowers >has been moved to Koha::Patrons. This patch changes the call from >Koha::Borrowers to Koha::Patrons. >--- > C4/Circulation.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 283ea70..3037a46 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -3814,7 +3814,7 @@ sub ProcessOfflineIssue { > sub ProcessOfflinePayment { > my $operation = shift; > >- my $patron = Koha::Borrowers->find( { cardnumber => $operation->{cardnumber} }); >+ my $patron = Koha::Patrons->find( { cardnumber => $operation->{cardnumber} }); > my $amount = $operation->{amount}; > > Koha::Account->new( { patron_id => $patron->id } )->pay( { amount => $amount } ); >-- >2.1.4
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 15900
:
48337
|
52142
|
54742
|
55261
|
55872
|
55873