Bugzilla – Attachment 127178 Details for
Bug 29385
Add missing cash register support to SIP2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29385: Catch register_id for payments against fees
Bug-29385-Catch-registerid-for-payments-against-fe.patch (text/plain), 1.43 KB, created by
Kyle M Hall (khall)
on 2021-11-01 16:32:22 UTC
(
hide
)
Description:
Bug 29385: Catch register_id for payments against fees
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2021-11-01 16:32:22 UTC
Size:
1.43 KB
patch
obsolete
>From eff01169bbb7038822b2d7a52f46ce0c62ab3443 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 1 Nov 2021 14:22:04 +0000 >Subject: [PATCH] Bug 29385: Catch register_id for payments against fees > >This patch adds the missing cash_register definition in the call to pay >with a set of lines defined. > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > C4/SIP/ILS/Transaction/FeePayment.pm | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) > >diff --git a/C4/SIP/ILS/Transaction/FeePayment.pm b/C4/SIP/ILS/Transaction/FeePayment.pm >index 7748b1a1d8..a0c0619d0d 100644 >--- a/C4/SIP/ILS/Transaction/FeePayment.pm >+++ b/C4/SIP/ILS/Transaction/FeePayment.pm >@@ -62,11 +62,12 @@ sub pay { > if ( $fee ) { > my $pay_response = $account->pay( > { >- amount => $amt, >- type => $type, >- payment_type => 'SIP' . $sip_type, >- lines => [$fee], >- interface => C4::Context->interface >+ amount => $amt, >+ type => $type, >+ payment_type => 'SIP' . $sip_type, >+ lines => [$fee], >+ interface => C4::Context->interface, >+ cash_register => $register_id > } > ); > return { >-- >2.30.1 (Apple Git-130)
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 29385
:
127173
|
127178
|
128159
|
129583
|
130469
|
130595