Bugzilla – Attachment 87194 Details for
Bug 22564
accounttype 'Rep' is still referred to but is never set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22564: Remove references to 'Rep' accounttype
Bug-22564-Remove-references-to-Rep-accounttype.patch (text/plain), 1.49 KB, created by
Martin Renvoize (ashimema)
on 2019-03-29 12:43:45 UTC
(
hide
)
Description:
Bug 22564: Remove references to 'Rep' accounttype
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-03-29 12:43:45 UTC
Size:
1.49 KB
patch
obsolete
>From 5f843579cbb39ca9988f52cfd6d0e6c58d6b0f72 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 22 Mar 2019 15:49:13 +0000 >Subject: [PATCH] Bug 22564: Remove references to 'Rep' accounttype > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > C4/Circulation.pm | 2 +- > Koha/Account.pm | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index cf4077db11..7a075f307d 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -2379,7 +2379,7 @@ sub _FixAccountForLostAndReturned { > my $accountlines = Koha::Account::Lines->search( > { > itemnumber => $itemnumber, >- accounttype => { -in => [ 'L', 'Rep', 'W' ] }, >+ accounttype => { -in => [ 'L', 'W' ] }, > }, > { > order_by => { -desc => [ 'date', 'accountlines_id' ] } >diff --git a/Koha/Account.pm b/Koha/Account.pm >index 61fdef2fdd..14bfa14a13 100644 >--- a/Koha/Account.pm >+++ b/Koha/Account.pm >@@ -107,7 +107,7 @@ sub pay { > $fine->amountoutstanding($new_amountoutstanding)->store(); > $balance_remaining = $balance_remaining - $amount_to_pay; > >- if ( $fine->itemnumber && $fine->accounttype && ( $fine->accounttype eq 'Rep' || $fine->accounttype eq 'L' ) ) >+ if ( $fine->itemnumber && $fine->accounttype && ( $fine->accounttype eq 'L' ) ) > { > C4::Circulation::ReturnLostItem( $self->{patron_id}, $fine->itemnumber ); > } >-- >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 22564
:
86922
|
87052
|
87194
|
87195
|
87205
|
87206
|
87207
|
87629
|
87630
|
87631
|
87793
|
87794
|
87795
|
87866
|
87867
|
87868
|
88219
|
88220
|
88221
|
88342
|
88343
|
88344
|
88345