From 54128f4b4bb12bbfa862fe6e8c0967e471b3abbf Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Tue, 19 Mar 2019 17:52:46 +0000 Subject: [PATCH] Bug 22533: Fix manual invoices from patron accounting 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 --- 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