Bug 16082: Display a friendly "patron does not exist" message if that's the case...
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 16 Mar 2016 10:01:18 +0000 (10:01 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 1 Apr 2016 13:12:27 +0000 (15:12 +0200)
commitbcf2d8d15494fa63df91bcd6099a9ba39a258e32
tree50e5783c214e2e9d390bf2ea732700497f9439fc
parent9478a0bf1eb43e0b82fb7c8ea84a4b503b9f81ce
Bug 16082: Display a friendly "patron does not exist" message if that's the case - circulation.pl

The major part of pages you can access from a patron detail page (menu)
does not take into consideration the 'patron does not exist' case.
If the borrowernumber is linked to a deleted patron, a friendly message
should be displayed instead of an empty patron detail page.

Test plan:
Go on circ/circulation.pl?borrowernumber=424242
and   circ/circulation.pl?borrowernumber=424242&batch=1
Notice the difference before and after this patch

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
(cherry picked from commit 7aedcf643e6f7793b4ebf55b1c7cdec7ec04a25d)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
circ/circulation.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt