Bugzilla – Attachment 127173 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.36 KB, created by
Martin Renvoize (ashimema)
on 2021-11-01 14:23:14 UTC
(
hide
)
Description:
Bug 29385: Catch register_id for payments against fees
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-11-01 14:23:14 UTC
Size:
1.36 KB
patch
obsolete
>From 35bc67b2964b169b17b94dd05b56a5c0ab9a5a82 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. >--- > 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.20.1
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