Bugzilla – Attachment 86838 Details for
Bug 22533
Cannot create manual invoices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22533: maninvoice.pl is using deprecated maininvoice() method
Bug-22533-maninvoicepl-is-using-deprecated-maininv.patch (text/plain), 1.23 KB, created by
Hayley Pelham
on 2019-03-21 01:14:43 UTC
(
hide
)
Description:
Bug 22533: maninvoice.pl is using deprecated maininvoice() method
Filename:
MIME Type:
Creator:
Hayley Pelham
Created:
2019-03-21 01:14:43 UTC
Size:
1.23 KB
patch
obsolete
>From ceb2f2895b8a0266692f5a796ad556065d17a58f Mon Sep 17 00:00:00 2001 >From: Liz Rea <wizzyrea@gmail.com> >Date: Tue, 19 Mar 2019 17:52:46 +0000 >Subject: [PATCH] Bug 22533: maninvoice.pl is using deprecated maininvoice() > method > >To test: >Attempt to create a manual fine from the patron accounting page, it >should fail. >Apply this patch, restart the things >Attempt to create a manual fine from the patron accounting page, it >should succeed. > >Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz> >--- > members/maninvoice.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/maninvoice.pl b/members/maninvoice.pl >index 2d22666bd5..668136a978 100755 >--- a/members/maninvoice.pl >+++ b/members/maninvoice.pl >@@ -78,7 +78,7 @@ if ($add){ > my $amount=$input->param('amount'); > my $type=$input->param('type'); > my $note = $input->param('note'); >- my $error = manualinvoice( $borrowernumber, $itemnum, $desc, $type, $amount, $note ); >+ my $error = C4::Accounts::manualinvoice( $borrowernumber, $itemnum, $desc, $type, $amount, $note ); > if ($error) { > if ( $error =~ /FOREIGN KEY/ && $error =~ /itemnumber/ ) { > $template->param( 'ITEMNUMBER' => 1 ); >-- >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 22533
:
86757
|
86838
|
86851
|
86873