LP#1738249: sort out circ or renewal workstation user/gmcharlt/lp1738249_signoff
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 6 Feb 2018 21:56:56 +0000 (16:56 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 6 Feb 2018 21:59:36 +0000 (16:59 -0500)
commit9ac5fbb2f9de6451d19cd545667c4a91049aa5da
treeb8166560a3b5012c72315465525e9cfdffdad688
parentd33b3bce347c39785af94fac2ce13b173f165e5b
LP#1738249: sort out circ or renewal workstation

This patch uses accs to work out the name of the workstation
of the most recent renewal, if it exists, or the original
checkout. It implicitly handles the case where the workstation
on the original circulation is null.  As a bonus, this patch
adds an explicit "Last Renewal Workstation" to the item status
grid.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/cat/item/t_list.tt2
Open-ILS/web/js/ui/default/staff/circ/services/item.js