Bugzilla – Attachment 86873 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: Fix manual invoices from patron accounting
Bug-22533-Fix-manual-invoices-from-patron-accounti.patch (text/plain), 1.32 KB, created by
Marcel de Rooy
on 2019-03-22 06:53:22 UTC
(
hide
)
Description:
Bug 22533: Fix manual invoices from patron accounting
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2019-03-22 06:53:22 UTC
Size:
1.32 KB
patch
obsolete
>From 101ef51085a600ec6f02030552c6e28f4888dd20 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: Fix manual invoices from patron accounting >Content-Type: text/plain; charset=utf-8 > >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> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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