From: Chris Cormack Date: Wed, 5 Mar 2014 00:51:40 +0000 (+1300) Subject: It is now responding correctly X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0eb4519cad329328e1a4f5837de9737baea08765;p=working%2FNCIPServer.git It is now responding correctly --- diff --git a/lib/NCIP/ILS/Koha.pm b/lib/NCIP/ILS/Koha.pm index 171d1f1..e50f758 100644 --- a/lib/NCIP/ILS/Koha.pm +++ b/lib/NCIP/ILS/Koha.pm @@ -155,13 +155,13 @@ sub acceptitem { return $result; } my ( $success, $messages, $issue, $borrower ) = - AddReturn( $barcode, $branch, $exemptfine, $dropbox ); + AddReturn( $barcode, $branch, undef, undef ); if ( $messages->{'NotIssued'} ) { $success = 1 ; # we do this because we are only doing the return to trigger the reserve } - my $result = { + $result = { success => $success, messages => $messages, iteminformation => $issue, diff --git a/templates/includes/AcceptItemResponse.inc b/templates/includes/AcceptItemResponse.inc new file mode 100644 index 0000000..29cc1e2 --- /dev/null +++ b/templates/includes/AcceptItemResponse.inc @@ -0,0 +1 @@ +[% barcode %]