Bugzilla – Attachment 119641 Details for
Bug 25508
Confusing renewal message when paying accruing fine with RenewAccruingItemWhenPaid turned off
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25508: (QA follow-up) Add interface
Bug-25508-QA-follow-up-Add-interface.patch (text/plain), 1.01 KB, created by
Nick Clemens (kidclamp)
on 2021-04-15 15:30:55 UTC
(
hide
)
Description:
Bug 25508: (QA follow-up) Add interface
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-04-15 15:30:55 UTC
Size:
1.01 KB
patch
obsolete
>From 58b1414cada196fd7d07b1907d0e9338c264f0f9 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 15 Apr 2021 15:28:58 +0000 >Subject: [PATCH] Bug 25508: (QA follow-up) Add interface > >These patches are making the call for an amount match the call for a specific line, >we should also match the passing of interface to ensure the correct pref is checked > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > Koha/Account.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Account.pm b/Koha/Account.pm >index 55ee594ff8..3916fa76be 100644 >--- a/Koha/Account.pm >+++ b/Koha/Account.pm >@@ -204,7 +204,7 @@ sub pay { > # in order that we can potentially renew it, do so. > my $amt = $old_amountoutstanding - $amount_to_pay; > if ( $fine->renewable ) { >- my $outcome = $fine->renew_item; >+ my $outcome = $fine->renew_item({ interface => $interface }); > push @{$renew_outcomes}, $outcome if $outcome; > } > >-- >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 25508
:
118765
|
118776
|
118777
|
118778
|
119191
|
119192
|
119213
|
119214
|
119639
|
119640
| 119641 |
119702
|
146001
|
146002
|
146003
|
146004