Bug 35969: Add error code in opac-sendbasket.pl
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 1 Feb 2024 07:55:55 +0000 (07:55 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 12 Apr 2024 09:26:02 +0000 (11:26 +0200)
commit35293612a8d0efa932bf376b7855b17cc29d6d5c
treec9b6f88fbb523fa110fa919084d00d289e6edf22
parent4848def5e2a336e01bf0dd0ff61a75a30b35f137
Bug 35969: Add error code in opac-sendbasket.pl

No need to carp about empty basket or no reply address.
Just add a simple explanation on the form.

Note that it makes no sense to show the form if the patron
has no email address. We need it as reply-to.

Test plan:
Try opac-sendbasket.pl?bib_list=null
Remove email address from your account, try again.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt
opac/opac-sendbasket.pl