Bugzilla – Attachment 120271 Details for
Bug 27636
Replace Koha::Account::pay with a simpler method
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27636: (QA follow-up) Restore AutoReconcile assumption
Bug-27636-QA-follow-up-Restore-AutoReconcile-assum.patch (text/plain), 1.41 KB, created by
Martin Renvoize (ashimema)
on 2021-04-28 13:44:35 UTC
(
hide
)
Description:
Bug 27636: (QA follow-up) Restore AutoReconcile assumption
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-04-28 13:44:35 UTC
Size:
1.41 KB
patch
obsolete
>From 1a255533b8f46587204ad2e8ba62d347433b93dc Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 28 Apr 2021 14:36:27 +0100 >Subject: [PATCH] Bug 27636: (QA follow-up) Restore AutoReconcile assumption > >This patch restores the behaviour of paycollect which relied on >Koha::Account->pay ignoring the value of the AutoReconcile system >preference. > >We now explicitly fall back to selecting all outstanding debit lines if >a selection of lines is not passed into the controller. >--- > members/paycollect.pl | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/members/paycollect.pl b/members/paycollect.pl >index 7fb55737e7..425a96c36e 100755 >--- a/members/paycollect.pl >+++ b/members/paycollect.pl >@@ -137,6 +137,8 @@ if ( $selected_accts ) { > } > ); > $total_due = $sum->_resultset->first->get_column('total_amountoutstanding'); >+} else { >+ @selected_accountlines = $account->outstanding_debits; > } > > if ( $total_paid and $total_paid ne '0.00' ) { >@@ -207,6 +209,7 @@ if ( $total_paid and $total_paid ne '0.00' ) { > { > amount => $total_paid, > library_id => $library_id, >+ lines => \@selected_accountlines, > note => $note, > payment_type => $payment_type, > interface => C4::Context->interface, >-- >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 27636
:
116393
|
118471
|
118515
|
118516
|
118522
|
118523
|
119205
|
119206
|
119207
|
119242
|
119243
|
119244
|
120022
|
120023
|
120024
|
120089
|
120090
|
120091
|
120257
|
120258
|
120259
|
120262
|
120263
|
120270
|
120271
|
120272
|
120276
|
120294
|
120343
|
120344
|
120345