Bug 7703: (follow-up) Treat no items like none available
authorOwen Leonard <oleonard@myacpl.org>
Fri, 6 Aug 2021 12:54:46 +0000 (12:54 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 3 Sep 2021 14:49:48 +0000 (10:49 -0400)
commitf340e17a5e8618d95f6016f874a74217ae5c909f
treefab55aa433e31e5586ddec5395dfea8ce9d808ad
parente20c7ec259ec66716f71b255ec7aa9a8d87aa88a
Bug 7703: (follow-up) Treat no items like none available

This patch modifies the holds template so that during the
multi-hold process, titles with no items attached are treated the same
way as titles with no items available (items exist but cannot be place
don hold):

 - The row showing such a record will say "No items are available to be
    placed on hold."
 - The pickup location dropdown will be hidden.

To test, follow the previous test plan and confirm that these change are
reflected. Now that the pickup location field isn't present for titles
without items you should be able to complete the holds process.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt