Bug 32134: Show the bundle size when checked out
authorJulian Maurice <julian.maurice@biblibre.com>
Tue, 8 Nov 2022 14:19:20 +0000 (15:19 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 15 Dec 2022 13:48:17 +0000 (13:48 +0000)
commitf76cfb7270df830a39ab5dcd66e632cd4646b071
treeba7faa4309685a27e806aa3c58f8ddf99ce37273
parentdd32b10be57e4f9cc0673fed0613e4d3b3eed06e
Bug 32134: Show the bundle size when checked out

When checking out a bundle, it can be useful to know the number of items
in this bundle, so that librarians can quickly check if items are
missing.

Test plan:
1. Create a bundle (see bug 28854 comment 458)
2. Check out the bundle.
3. Verify that you have the bundle size in the message below the barcode
   input ("Checked out: [...]. Bundle of X items. Due on [...]")
4. Checkout an item that is not a bundle.
5. Verify that the bundle message does not appear

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit b00c213876b79ac6cf7f94a92239f63628993ae7)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt