MKRoztoky / open-source-self-check

Automatically exported from code.google.com/p/open-source-self-check
0 stars 0 forks source link

Renew not working properly #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Scan Book that is already out to the patron
2.
3.

What is the expected output? What do you see instead?
I expect to see a prompt asking if I would like to renew the item.
Instead it says "#This item is already checked out to you"

Then (sometimes) "#Unknown item barcode - please refer to the circulation desk."

What version of the product are you using? On what operating system?
1.2 currently we are running it on Ubuntu server 10.04.  I also have it running 
on WAMP on a Windows XP machine with the same result.

Please provide any additional information below.

Original issue reported on code.google.com by ash...@gmail.com on 22 May 2012 at 7:07

GoogleCodeExporter commented 8 years ago
The responses.php gives me this output:
Array ( [fixed] => Array ( [Ok] => 0 [RenewalOk] => Y [Magnetic] => N 
[Desensitize] => N [TransactionDate] => 20120522 152200 ) [variable] => Array ( 
[Raw] => Array ( [0] => AOWCPL [1] => AA22046026012333 [2] => AB32046203092510 
[3] => AJ420 characters : stories / [4] => AH05/26/12 [5] => 
CHCallnumber=BEACH~Loancode=BK~Group=0 [6] => AF#This item is already checked 
out to you. [7] => AY0 ) [AO] => Array ( [0] => WCPL ) [AA] => Array ( [0] => 
22046026012333 ) [AB] => Array ( [0] => 32046203092510 ) [AJ] => Array ( [0] => 
420 characters : stories / ) [AH] => Array ( [0] => 05/26/12 ) [CH] => Array ( 
[0] => Callnumber=BEACH~Loancode=BK~Group=0 ) [AF] => Array ( [0] => #This item 
is already checked out to you. ) [AY] => Array ( [0] => 0 ) [AZ] => Array ( [0] 
=> C63A ) ) )
#This item is already checked out to you.

Original comment by ash...@gmail.com on 22 May 2012 at 7:25

GoogleCodeExporter commented 8 years ago
Checkouts Allowed (Y or N):  Y
Renewals Allowed (Y or N):   Y

Original comment by ash...@gmail.com on 22 May 2012 at 7:26

GoogleCodeExporter commented 8 years ago
Do you have $already_ckdout_to_you set to "#This item is already checked out to 
you" in config.php?

Original comment by ericmelton1@gmail.com on 22 May 2012 at 10:35

GoogleCodeExporter commented 8 years ago
$already_ckdout_to_you='Item already charged to this user'; //item already out 
to this borrower response

Original comment by ash...@gmail.com on 23 May 2012 at 2:04

GoogleCodeExporter commented 8 years ago
if the message returned is "#Item already charged to this user" it might need 
the "#"

Original comment by ericmelton1@gmail.com on 23 May 2012 at 4:25

GoogleCodeExporter commented 8 years ago
It is not.  The message returned is:

#This item is already checked out to you not #Item already charged to this user

Original comment by ash...@gmail.com on 23 May 2012 at 4:53

GoogleCodeExporter commented 8 years ago
try setting $already_ckdout_to_you="#This item is already checked out to you" 
in config.php

Original comment by ericmelton1@gmail.com on 23 May 2012 at 6:21

GoogleCodeExporter commented 8 years ago
That did it.  Thanks

Original comment by ash...@gmail.com on 23 May 2012 at 8:31