[Koha-bugs] [Bug 25037] Add support for multiple checkout types

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 2 07:29:01 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25037

--- Comment #5 from Lari Taskula <lari.taskula at hypernova.fi> ---
Created attachment 102263
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=102263&action=edit
Bug 25037: Replace onsite_checkout with checkout_type

To test:

1. Run all these tests:

prove t/db_dependent/Circulation.t
prove t/db_dependent/Circulation/TooMany.t
prove t/db_dependent/Circulation/GetPendingOnSiteCheckouts.t
prove t/db_dependent/Circulation/SwitchOnSiteCheckouts.t
prove t/db_dependent/Items.t
prove t/db_dependent/Koha/Account/Line.t

2. Verify koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
   - Create a record and add two items to it
   - Checkout both of them, one as on-site checkout and one as normal
   - Go to INTRANET /cgi-bin/koha/catalogue/detail.pl?biblionumber=XXX
     where XXX is your record's biblionumber
   - Observe Holdings table column Status
      => your on-site checked out item should say "Currently in local
         use by ..."
      => your normal checked out item should say "Checked out to ..."

2. Verify koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc
   - Repeat step 1 but this time go to OPAC
     /cgi-bin/koha/opac-detail.pl?biblionumber=XXX where XXX is your
     record's biblionumber
   - Observe Holdings table column Status
      => your on-site checked out item should say "Currently in local
         use"
      => your normal checked out item should say "Checked out"

3. Verify koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt
   - After step 2, go to INTRANET
     /cgi-bin/koha/members/readingrec.pl?borrowernumber=51
   - You will see circulation history table.
   - Observe your two checkouts from step 2
   - Click "Checkouts" tab
   - Observe your normal checkout in the list
   - Click "On-site checkouts"" tab
   - Observe your on-site checkout in the list

4. Verify koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt
   - Repeat step 3 but this time go to OPAC
     /cgi-bin/koha/opac-readingrecord.pl

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list