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)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Mon, 21 Mar 2016 16:58:17 +0000 (16:58 +0000)
commit7aedcf643e6f7793b4ebf55b1c7cdec7ec04a25d
tree719138dba2687819ba28a117ef5c41fe7ca77e49
parent4a3404594ff326e0babb8b7bee8e65f5646ff9f9
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
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