]> git.koha-community.org Git - koha.git/commit
Bug 20343: Show number of checkouts by itemtype in circulation.pl
authorJulian Maurice <julian.maurice@biblibre.com>
Tue, 6 Mar 2018 13:47:46 +0000 (14:47 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 19 Apr 2018 15:32:20 +0000 (12:32 -0300)
commit67d905d49f2871c884dc868bd1b50517624dcdbf
treec16fbb379502bfefe20b00f81d56177a8b824046
parent71e5c4274057755bc593d8f1ca598d378b558649
Bug 20343: Show number of checkouts by itemtype in circulation.pl

It is sometimes useful to have the number of checkouts grouped by
itemtype (to see if we're approaching the maximum number of checkouts
allowed for instance).
This patch adds this information above the checkouts table, in
circ/circulation.pl

Test plan:
1. Check out some items with various item types to a patron
2. In circ/circulation.pl, click on 'Show checkouts' button to display
   the table
3. Notice the line "Number of checkouts by item type" above the table,
   click on it
4. See that the list of item types is displayed with a count in front of
   each one
5. Compare the numbers to the checkouts in the table and verify that the
   numbers are correct

Signed-off-by: claude <claude.brayer@cea.fr>
Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/js/checkouts.js