https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40690 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #185727|0 |1 is obsolete| | --- Comment #4 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 185873 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185873&action=edit Bug 40690: Fix if/else/end logic for checkout This change fixes the Checkout status on moredetail.pl so that it actually shows "Not checked out" when it's not checked out. Test plan: 0. Apply the patch 1. Go to /cgi-bin/koha/catalogue/moredetail.pl?biblionumber=29 on a fresh KTD 2. Note that the "Checkout status" is "Not checked out" 3. Check out the item to someone 4. Go to /cgi-bin/koha/catalogue/moredetail.pl?biblionumber=29 5. Note that it says "Checked out to <person> Due back on <date>" 6. Renew the item 7. Go to /cgi-bin/koha/catalogue/moredetail.pl?biblionumber=29 8. Note that it says "Checked out to <person> Last renewed <date>, Due back on <date>" Signed-off-by: Anneli Österman <anneli.osterman@koha-suomi.fi> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.