Bugzilla – Attachment 78329 Details for
Bug 20944
Add routes to add credits to a patron's account
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20944: Fix perlcritic issues
Bug-20944-Fix-perlcritic-issues.patch (text/plain), 979 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2018-08-31 14:27:23 UTC
(
hide
)
Description:
Bug 20944: Fix perlcritic issues
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2018-08-31 14:27:23 UTC
Size:
979 bytes
patch
obsolete
>From cf1ebe8a8813976416dcdee49eadd78955e0d09a Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 31 Aug 2018 11:27:13 -0300 >Subject: [PATCH] Bug 20944: Fix perlcritic issues > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/REST/V1/Patrons/Account.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/Koha/REST/V1/Patrons/Account.pm b/Koha/REST/V1/Patrons/Account.pm >index 7cae3b324d..9312196608 100644 >--- a/Koha/REST/V1/Patrons/Account.pm >+++ b/Koha/REST/V1/Patrons/Account.pm >@@ -122,7 +122,8 @@ sub add_credit { > if $date; > > my $debits_ids = $body->{account_lines_ids}; >- my $debits = Koha::Account::Lines->search({ accountlines_id => { -in => $debits_ids } }) >+ my $debits; >+ $debits = Koha::Account::Lines->search({ accountlines_id => { -in => $debits_ids } }) > if $debits_ids; > > my $outstanding_credit = $credit->amountoutstanding; >-- >2.18.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 20944
:
76815
|
76816
|
77645
|
77646
|
77928
|
77929
| 78329