Bugzilla – Attachment 80636 Details for
Bug 20629
Remove ability to 'reverse' payments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20629: Follow up to add POD for getcharges.
Bug-20629-Follow-up-to-add-POD-for-getcharges.patch (text/plain), 1.13 KB, created by
Kyle M Hall (khall)
on 2018-10-15 19:06:09 UTC
(
hide
)
Description:
Bug 20629: Follow up to add POD for getcharges.
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-10-15 19:06:09 UTC
Size:
1.13 KB
patch
obsolete
>From 15e8de03367ce89994b86874a127f43f21c1c8f3 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Mon, 15 Oct 2018 18:58:20 +0000 >Subject: [PATCH] Bug 20629: Follow up to add POD for getcharges. > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > C4/Accounts.pm | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > >diff --git a/C4/Accounts.pm b/C4/Accounts.pm >index 78cd003176..45452df78f 100644 >--- a/C4/Accounts.pm >+++ b/C4/Accounts.pm >@@ -310,6 +310,23 @@ sub manualinvoice { > return 0; > } > >+=head2 getcharges >+ >+ my @charges = getcharges( $borrowernumber, $timestamp, $accountno ); >+ >+Find all the charges for a given borrower number and account number. >+ >+B<$borrowernumber> -- Borrower number to look for in accountlines. >+ >+B<$timestamp> -- Unused parameter. >+ >+B<$accountno> -- Account number to look for in accountlines. >+ >+Returns an array of hash references from accountlines which match the >+criteria. >+ >+=cut >+ > sub getcharges { > my ( $borrowerno, $timestamp, $accountno ) = @_; > my $dbh = C4::Context->dbh; >-- >2.17.1 (Apple Git-112)
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 20629
:
74935
|
80590
|
80620
|
80621
|
80622
|
80629
|
80630
|
80631
|
80632
|
80633
|
80634
|
80635
|
80636
|
80692
|
80693
|
81311
|
81312
|
81313
|
81314
|
81315
|
81349
|
81350
|
81351
|
81352
|
81353