Bug 14356: Improvements to the 'Transfers to receive' page
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sun, 7 Jun 2015 23:30:58 +0000 (01:30 +0200)
committerMason James <mtj@kohaaloha.com>
Sat, 25 Jul 2015 13:20:13 +0000 (01:20 +1200)
commit45db6e12937625d59bc097b535d77d52a09f36ea
tree84eba8749e6f8ff1393ff08949fe27a027b6d938
parentecae848cdf138c00a65bfda99347752bb3bcfb8c
Bug 14356: Improvements to the 'Transfers to receive' page

Patch makes several small changes to the template for the
'Transfers to receive page'

1) Show the branch name instead of the branchcode in the
   table of incoming transfers.

If there is a hold connected with the transfer:
2) Show the patron's name as 'surname, firstname'
   intead of 'surname  firstname'
3) Restore broken feature: Show a mailto: link with a
   generated subject of 'Hold: <title>'.

The mailto: feature actually existed in the templates, but
was broken to a misnamed database column. I made some small
changes to make the subject translatable (see bug 8330).

To test:
- Create a transfer by placing a hold with pickup at another library
- Craete a transfer manually
- Go to the circulation > transfers to receive
- Check the changes explained above, compare before and after
- Check the mailto: link works as expected

Bonus: Check the Hold: bit in the subject is really translatable now.

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Mason James <mtj@kohaaloha.com>
circ/transferstoreceive.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt