Bugzilla – Attachment 74095 Details for
Bug 19191
Add ability to email receipts for account payments and write-offs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19191: Remove need for bug 19966
Bug-19191-Remove-need-for-bug-19966.patch (text/plain), 1.29 KB, created by
Kyle M Hall (khall)
on 2018-04-12 13:40:49 UTC
(
hide
)
Description:
Bug 19191: Remove need for bug 19966
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-04-12 13:40:49 UTC
Size:
1.29 KB
patch
obsolete
>From 5744d10c006268f6b8fd856e01c8dde40f2785c0 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 2 Mar 2018 15:04:10 +0000 >Subject: [PATCH] Bug 19191: Remove need for bug 19966 > >--- > Koha/Account.pm | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) > >diff --git a/Koha/Account.pm b/Koha/Account.pm >index 7d6259162f..596b137682 100644 >--- a/Koha/Account.pm >+++ b/Koha/Account.pm >@@ -268,11 +268,13 @@ sub pay { > letter_code => uc("ACCOUNT_$type"), > message_transport_type => 'email', > lang => Koha::Patrons->find( $self->{patron_id} )->lang, >- objects => { >- patron => scalar Koha::Patrons->find( $self->{patron_id} ), >- library => scalar Koha::Libraries->find( $self->{library_id} ), >- offsets => \@account_offsets, >- credit => $payment, >+ tables => { >+ borrowers => $self->{patron_id}, >+ branches => $self->{library_id}, >+ }, >+ substitute => { >+ credit => $payment, >+ offsets => scalar Koha::Account::Offsets->search( { id => { -in => [ map { $_->id } @account_offsets ] } } ), > }, > ) > ) >-- >2.15.1 (Apple Git-101)
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 19191
:
66554
|
68605
|
68812
|
70465
|
70466
|
70471
|
72366
|
72367
|
72370
|
73924
|
74092
|
74093
|
74094
|
74095
|
74104
|
74105
|
74423
|
74424
|
74504
|
74505
|
74506
|
74507
|
74508
|
74625
|
74626
|
74627
|
74628
|
74629
|
74630
|
74631
|
74686
|
75066
|
75067
|
75068
|
75069
|
75070
|
75071
|
75072
|
75093
|
75134