]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 5 Jun 2018 07:33:58 +0000 (09:33 +0200)
commit5c63236dccd70af5f33886c2599370d2c1c2709e
tree775f0f8e1a6fb5b936d31bc8731ea2ea93ad7011
parentaec676d8cbf419a1b4e76097eaf4b50ba15ad12b
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>
(cherry picked from commit 67d905d49f2871c884dc868bd1b50517624dcdbf)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/js/checkouts.js