Bugzilla – Attachment 111660 Details for
Bug 26536
"Writeoff/Pay selected" deducts from old unpaid debts first
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25636: Assignment fix
Bug-25636-Assignment-fix.patch (text/plain), 1.39 KB, created by
Katrin Fischer
on 2020-10-14 23:22:05 UTC
(
hide
)
Description:
Bug 25636: Assignment fix
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-10-14 23:22:05 UTC
Size:
1.39 KB
patch
obsolete
>From 5300c764bc68270b09f41660aa747c4667ef6939 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 2 Oct 2020 16:17:39 +0100 >Subject: [PATCH] Bug 25636: Assignment fix > >Whilst working on this bug I found a weird inconsistent variable assignment line > >https://bugs.koha-community.org/show_bug.cgi?id=26536 > >Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > members/paycollect.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/members/paycollect.pl b/members/paycollect.pl >index 07b424111f..caf8f3b851 100755 >--- a/members/paycollect.pl >+++ b/members/paycollect.pl >@@ -229,7 +229,7 @@ if ( $total_paid and $total_paid ne '0.00' ) { > } > else { > my $note = $input->param('selected_accts_notes'); >- $pay_result = $payment_id = $account->pay( >+ $pay_result = $account->pay( > { > amount => $total_paid, > library_id => $library_id, >@@ -240,6 +240,7 @@ if ( $total_paid and $total_paid ne '0.00' ) { > cash_register => $cash_register_id > } > ); >+ $payment_id = $pay_result->{payment_id}; > } > $payment_id = $pay_result->{payment_id}; > >-- >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 26536
:
111209
|
111210
|
111211
|
111268
|
111269
|
111270
|
111658
|
111659
|
111660
|
111701
|
114508
|
114509
|
114510