https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24592
David Nind <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #9 from David Nind <[email protected]> --- Here is an updated test plan (I had to work out how to do some of the things, so I hope it is useful to others and what was intended to check): 1) Apply the patch and run the database update (perl installer/data/mysql/updatedatabase.pl) 2) Grep th codebase for _FixAccountForLostAndReturned and note there are no longer any instanced of it (grep -r1 "_FixAccountForLostAndReturned" koha) 3) Run t/db_dependent/Circulation.t and note it passes 4) For a patron: - Check out an item (Circulation > Check out) - Create a manual invoice for the item using the 'Lost item' type (Patrons > [Account for patron] > Accounting > Create manual invoice > Enter the barcode and amount) - Edit the record for the item and change the 'Lost status' to 'Lost' (From the list of transactions click on the barcode, and change the 'Lost status' to 'Lost' and then 'clcik 'Set status') - Check in the lost item (Circulation > Check in) - A message should pop up saying 'Item was lost, now found.....' - Check the transactions for the patron: there should now be a transaction with a refund, the account type will say 'Lost item fee refund', and in the description it will say 'Item found...' 5) Check the database to see the changes: - koha-mysql kohadev - Use the query 'select * from accountlines' - For the original manual invoice the debit_type_code will show as 'LOST' and the status will show as 'FOUND' - For the transactions to reverse the lost item fee the credit_type_code will show as "LOST_FOUND' -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
