Bugzilla – Attachment 91520 Details for
Bug 23181
Unable to use payment library in ACCOUNT_PAYMENT or ACCOUNT_WRITEOFF notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23181 - Unable to use payment library in ACCOUNT_PAYMENT or ACCOUNT_WRITEOFF notices
Bug-23181---Unable-to-use-payment-library-in-ACCOU.patch (text/plain), 1.28 KB, created by
Katrin Fischer
on 2019-07-13 13:32:38 UTC
(
hide
)
Description:
Bug 23181 - Unable to use payment library in ACCOUNT_PAYMENT or ACCOUNT_WRITEOFF notices
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-07-13 13:32:38 UTC
Size:
1.28 KB
patch
obsolete
>From 98a09b0b705bb33dfe34d19f8d92ffe0e1b1fae8 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 21 Jun 2019 08:51:15 -0400 >Subject: [PATCH] Bug 23181 - Unable to use payment library in ACCOUNT_PAYMENT > or ACCOUNT_WRITEOFF notices > >Do to a simple semantic typo, the branches key will always be null for the tables key of the parameters for GetPreparedLetter. > >Test Plan: >0) Activate UseEmailReceipts >1) Attempt to use [% branch.branchname %] in the ACCOUNT_PAYMENT notice >2) Note it produces no output >3) Apply this patch >4) Make another payment >5) You should now see the branche's name! > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >Also requires UseEmailReceipts to be activated. >--- > Koha/Account.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Account.pm b/Koha/Account.pm >index 4607fc2acb..60171bf442 100644 >--- a/Koha/Account.pm >+++ b/Koha/Account.pm >@@ -269,7 +269,7 @@ sub pay { > lang => $patron->lang, > tables => { > borrowers => $self->{patron_id}, >- branches => $self->{library_id}, >+ branches => $library_id, > }, > substitute => { > credit => $payment, >-- >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 23181
:
90908
|
91520
|
94967
|
94980
|
94981
|
95944